We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d6e4307 + fcff534 commit e0df856Copy full SHA for e0df856
Makefile
@@ -15,7 +15,7 @@ BINFLAG = -o
15
INCLUDES =
16
LIBS = -lm
17
LIBPATH =
18
-CFLAGS += $(COPT) -g $(INCLUDES) #-Wall
+CFLAGS += $(COPT) -g $(INCLUDES) -Wall -Wextra -Wno-unused-function
19
LDFLAGS += $(LIBPATH) -g $(LIBS) #-Wall
20
21
OBJS := $(patsubst %.$(C),%.$(OBJ),$(wildcard $(SOURCE_PATH)*.$(C)))
src/strmap.c
@@ -389,7 +389,7 @@ static unsigned long hash(const char *str)
389
unsigned long hash = 5381;
390
int c;
391
392
- while (c = *str++) {
+ while ((c = *str++)) {
393
hash = ((hash << 5) + hash) + c;
394
}
395
0 commit comments