The compilation warning is ussued: mount.cifs.c: In function ‘main’: mount.cifs.c:719: warning: ‘rc’ is used uninitialized in this function mount.cifs.c:666: note: ‘rc’ was declared here Effectively, the variable and printf are not (no more?) usefull, and both lines can be discarded without problem.
Already fixed. See http://git.samba.org/?p=samba.git;a=blob;f=source/client/mount.cifs.c;h=c24c22e1c2757d660f7bc5de3cf0d95700c746d7;hb=v3-2-test for 3.2 version and also fixed in 3.3 Let us know if you see anything similar in the future.