tests: set C11, enable pedantic warnings, fix GCC and Clang warnings
This commit is contained in:
@@ -8,7 +8,7 @@ int main(int argc, char* argv[]) {
|
||||
char* token = strtok(source, " ");
|
||||
while (token) {
|
||||
printf("%s", token);
|
||||
if (token = strtok(NULL, " ")) {
|
||||
if ((token = strtok(NULL, " "))) {
|
||||
printf("_");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user