rpc_server/srvsvc: Fix CID 241162 Logically dead code
authorAnoop C S <achiraya@redhat.com>
Wed, 15 Apr 2015 10:26:42 +0000 (15:56 +0530)
committerJeremy Allison <jra@samba.org>
Fri, 17 Apr 2015 20:56:11 +0000 (22:56 +0200)
Signed-off-by: Anoop C S <achiraya@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Christof Schmitt <cs@samba.org>
source3/rpc_server/srvsvc/srv_srvsvc_nt.c

index 7e422724e5c4dd266f3437548151a08690ff6f02..bbbdefe681f5b3dbc3c3b511f060c9a8a5e0e50e 100644 (file)
@@ -1874,7 +1874,7 @@ WERROR _srvsvc_NetShareSetInfo(struct pipes_struct *p,
                                get_dyn_CONFIGFILE(),
                                share_name,
                                path,
-                               comment ? comment : "",
+                               comment,
                                max_connections,
                                csc_policy);
                if (!command) {