struct _aux *auxp;
int is_short;
int opt_offset = -1;
+#if defined(__minix)
+ /* triggers a 'may be used uninitialized', when compiled with gcc,
+ * asserts off, and -Os. */
+ is_short = 0;
+#endif /* defined(__minix) */
s = (struct _scanopt_t *) svoid;
#include <limits.h>
#include <dirent.h>
#include <assert.h>
+#include <stdlib.h> /* for abort() */
#include <sys/types.h>
#include <minix/const.h>
#include <minix/type.h> /* for unshort :-( */
else if(S_ISSOCK(mode)) return DT_SOCK;
assert(0 && "unknown type");
+
+ /* assert()s are removed on NDEBUG builds. */
+ abort();
}
CPPFLAGS.sha2.c+= -I${NETBSDSRCDIR}/sys
.for f in \
- divdi3.o moddi3.o udivdi3.o umoddi3.o qdivrem.o
+ ashrdi3.o divdi3.o lshldi3.o lshrdi3.o moddi3.o \
+ udivdi3.o umoddi3.o qdivrem.o
${f} ${f:C/\.o/.bc/}: ${LIBCOMMONCDIR}/quad/${f:C/\.o/.c/}
OBJS+= ${f}
CLEANFILES+= ${f}
Boolean isNew; /* Set TRUE if Hash_CreateEntry had to create */
/* an entry for the node */
+#if defined(__minix)
+ /* triggers a 'may be used uninitialized', when compiled with gcc,
+ * asserts off, and -Os. */
+ he = NULL;
+#endif /* defined(__minix) */
if (!(flags & (TARG_CREATE | TARG_NOHASH))) {
he = Hash_FindEntry(&targets, name);
if (he == NULL)
const char *prefix = NULL;
const char *suffixes = NULL, *s;
suff_list_t *suff_list = NULL, *sl;
-#ifdef __minix
+#if defined(__minix)
size_t nr;
-#endif
+
+ /* triggers a 'may be used uninitialized', when compiled with gcc,
+ * asserts off, and -Os. */
+ slen = 0;
+#endif /* defined(__minix) */
suf = NULL; /* XXXGCC -Wuninitialized [sun2] */
sl = NULL; /* XXXGCC -Wuninitialized [sun2] */
char buff[4 * MB_LEN_MAX + 1]; /* max encoding length for one char */
int mbilen, cerr = 0, raerr = 0;
+#if defined(__minix)
+ /* triggers a 'may be used uninitialized', when compiled with gcc,
+ * asserts off, and -Os. */
+ rachar = 0;
+#endif /* defined(__minix) */
/*
* The input stream is considered to be multibyte characters.
* The input loop will read this data inputing one character,