Samba4 switch blocks default
Stefan (metze) Metzmacher
metze at metzemix.de
Wed Aug 13 22:40:34 GMT 2003
Hi tridge!
nice to see samba4 !!!
I have a question:
can you add a 'default' to all the switch () {} blocks in the code?
I got a flood of warnings on SuSE 7.3
ntvfs/simple/vfs_simple.c:534: warning: enumeration value
`RAW_SFILEINFO_1025' not handled in switch
ntvfs/simple/vfs_simple.c:534: warning: enumeration value
`RAW_SFILEINFO_1029' not handled in switch
ntvfs/simple/vfs_simple.c:534: warning: enumeration value
`RAW_SFILEINFO_1032' not handled in switch
ntvfs/simple/vfs_simple.c:534: warning: enumeration value
`RAW_SFILEINFO_1039' not handled in switch
ntvfs/simple/vfs_simple.c:534: warning: enumeration value
`RAW_SFILEINFO_1040' not handled in switch
a simple
switch(bla) {
case ....
return ...
case....
return ,,,
default:
break;
}
will do it
metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de>
More information about the samba-technical
mailing list