glibc/nscd-avoid-gcc-warning.diff

14 lines
319 B
Diff

Index: glibc-2.15/nscd/connections.c
===================================================================
--- glibc-2.15.orig/nscd/connections.c
+++ glibc-2.15/nscd/connections.c
@@ -1805,6 +1805,8 @@ handle_request: request received (Versio
++nready;
}
/* NOTREACHED */
+ assert(0);
+ return 0;
}