The Samba-Bugzilla – Bug 5662
mount.cifs: use of unused variable "rc" in a "printf"
Last modified: 2008-08-26 12:08:17 UTC
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
for 3.2 version and also fixed in 3.3
Let us know if you see anything similar in the future.