Commit 431bdb5
committed
NFS: Delete dead code
Since commit f2eaaa3 in year 2000
the typedef struct my_fsid has a field 'char Opaque_Handle[2 * 32 + 1];'
Thus sizeof(*fsidp) is > 14.
Delete the else block as dead code and the two useless if.
This should remove two Visual Studio warnings:
parsenfsfh.c(318,25): warning C4127: conditional expression is constant
parsenfsfh.c(319,22): warning C4127: conditional expression is constant1 parent 805fd42 commit 431bdb5
1 file changed
+3
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
332 | 321 | | |
333 | 322 | | |
334 | 323 | | |
| |||
0 commit comments