mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-26 06:05:54 +00:00
Merge pull request #474 from schu/clang-unused
Fix "clang warning: expression result unused"
This commit is contained in:
commit
2c19b5658c
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user