[SSSD] [PATCH] SUDO: Fix compilation warning

Sumit Bose sbose at redhat.com
Thu Nov 15 08:28:40 UTC 2012


On Thu, Nov 15, 2012 at 07:44:24AM +0100, Jakub Hrozek wrote:
> I'm sorry, I overlooked the compilation warning in the recent sudo
> patches as I was testing on a VM that didn't have the silent rules
> enabled. A patch is attached.

ACK

bye,
Sumit

> From ceec408542627a21e9e08acebe9488d5f11e7147 Mon Sep 17 00:00:00 2001
> From: Jakub Hrozek <jhrozek at redhat.com>
> Date: Thu, 15 Nov 2012 07:41:59 +0100
> Subject: [PATCH] SUDO: Fix compilation warning
> 
> ---
>  src/sss_client/sudo/sss_sudo.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/sss_client/sudo/sss_sudo.c b/src/sss_client/sudo/sss_sudo.c
> index 92f575411421b5aba999f0c0ab60d9ff8ed57656..ec506429b35c05377d818a0d3f90a5b4e95a0f6a 100644
> --- a/src/sss_client/sudo/sss_sudo.c
> +++ b/src/sss_client/sudo/sss_sudo.c
> @@ -93,7 +93,6 @@ int sss_sudo_send_recv(uid_t uid,
>                         uint32_t *_error,
>                         struct sss_sudo_result **_result)
>  {
> -    char *fullname = NULL;
>      int ret;
>  
>      if (username == NULL || strlen(username) == 0) {
> -- 
> 1.8.0
> 

> _______________________________________________
> sssd-devel mailing list
> sssd-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/sssd-devel




More information about the sssd-devel mailing list