21 lines
543 B
Diff
21 lines
543 B
Diff
|
Index: xfsprogs-3.1.11/repair/incore_ino.c
|
||
|
===================================================================
|
||
|
--- repair/incore_ino.c
|
||
|
+++ repair/incore_ino.c
|
||
|
@@ -166,6 +166,7 @@ __uint32_t num_inode_references(struct i
|
||
|
return irec->ino_un.ex_data->counted_nlinks.un32[ino_offset];
|
||
|
default:
|
||
|
ASSERT(0);
|
||
|
+ return 0; /* Avoid compiler warning */
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@@ -206,6 +207,7 @@ __uint32_t get_inode_disk_nlinks(struct
|
||
|
return irec->disk_nlinks.un32[ino_offset];
|
||
|
default:
|
||
|
ASSERT(0);
|
||
|
+ return 0; /* Avoid compiler warning */
|
||
|
}
|
||
|
}
|
||
|
|