Commit 697a655b authored by rswindell's avatar rswindell
Browse files

Wow. First time I've seen replacing spaces with tabs fixes a GCC warning:

utf8.c: In function 'utf8_getc':
utf8.c:327:7: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
     } else
       ^~~~
utf8.c:329:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
  if(val != NULL) {
  ^~
parent ad75b555
......@@ -324,7 +324,7 @@ int utf8_getc(const char *str, size_t len, uint32_t* val)
if (value < 0x4000000)
return -4;
ret = 6;
} else
} else
return -2;
if(val != NULL)
*val = value;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment