Bug 5662 - mount.cifs: use of unused variable "rc" in a "printf"
mount.cifs: use of unused variable "rc" in a "printf"
Product: CifsVFS
Classification: Unclassified
Component: user space tools
x64 Linux
: P3 enhancement
: ---
Assigned To: Steve French
Depends on:
  Show dependency treegraph
Reported: 2008-08-02 06:00 UTC by Christophe
Modified: 2008-08-26 12:08 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Christophe 2008-08-02 06:00:26 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.
Comment 1 Steve French 2008-08-26 12:08:17 UTC
Already fixed.  See


for 3.2 version and also fixed in 3.3

Let us know if you see anything similar in the future.