浏览代码

Give the label a ; so compilers have no excuse to whine

Eric Andersen 23 年之前
父节点
当前提交
ae966d0bd9
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      libc/string/strstr.c

+ 3 - 1
libc/string/strstr.c

@@ -93,7 +93,9 @@ char * FUNC ( const char *phaystack, const char *pneedle)
 				a = *++haystack;
 				if (a == '\0')
 					goto ret0;
-		  shloop:}
+		  shloop:
+				;
+			}
 			while (VAL(a) != VAL(b));
 
 		  jin:a = *++haystack;