Commit 2c19b565 by Vicent Martí

Merge pull request #474 from schu/clang-unused

Fix "clang warning: expression result unused"
parents 4ef52315 15f52ae1
......@@ -738,7 +738,7 @@ error:
static int skip_bom(diskfile_backend *cfg)
{
static const char *utf8_bom = "\xef\xbb\xbf";
static const char utf8_bom[] = "\xef\xbb\xbf";
if (cfg->reader.buffer.len < sizeof(utf8_bom))
return GIT_SUCCESS;
......
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