summaryrefslogtreecommitdiffstats
path: root/dives/test29.xml
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-22 21:15:55 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-22 14:10:12 -0700
commitfb93232931569cb6386d1150486b9e12c28f0678 (patch)
tree564ef25791c220cbf04ae8b10c4a0905b827f919 /dives/test29.xml
parent9d3b15bf9cb758e9f371d5f5f9eec0a3a2b0a4e2 (diff)
downloadsubsurface-fb93232931569cb6386d1150486b9e12c28f0678.tar.gz
cleanup: silence two compiler warnings in git-access.c
gcc complained about two constructs of the kind remote_id && SSRF_INFO("..."); And while I am not a fan of excessive warnings, I must say it has a point here. That's just code obfuscation. In fact, it appears that the condition was wrong - the SSRF_INFO should probably be invoked if remote_id is NULL. The way it was written it would be invoked if it was *not* NULL. Change both instances to unfancy if statements. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'dives/test29.xml')
0 files changed, 0 insertions, 0 deletions