odstranen warning: suggest parentheses around && within ||
[svn/Prometheus-QoS/.git] / cll1.h
diff --git a/cll1.h b/cll1.h
index 6f07bd67f96322b744b75eeef256446b4224b6cc..3b7f74845d9db6067a8a010763499ecc74e558af 100644 (file)
--- a/cll1.h
+++ b/cll1.h
@@ -76,7 +76,7 @@
 #define duplicate(A,B) if(A) { string(B,strlen(A)+1); strcpy(B,A); }
 #define concatenate(A,B,C) if (A && B) { string(C,strlen(A)+strlen(B)+1); strcpy(C,A); strcat(C,B); }
 #define suffix(A,B,C) (((A=strrchr(B,C))&&!(*(A++)=0))||(A=B))
-#define prefix(A,B,C) ((A=B)&&((B=strchr(B,C))&&!(*(B++)=0)||(B=A)))
+#define prefix(A,B,C) ((A=B)&&(((B=strchr(B,C))&&!(*(B++)=0))||(B=A)))
 #define gotoalpha(CHAR) if(CHAR)while(*CHAR && !isalpha(*CHAR))CHAR++
 #define goto_alpha(CHAR) if(CHAR)while(*CHAR && !isalpha(*CHAR) && *CHAR!='_')CHAR++
 #define gotoalnum(CHAR) if(CHAR)while(*CHAR && !isalnum(*CHAR))CHAR++
This page took 0.117355 seconds and 4 git commands to generate.