LP#1243841 - Wrap truth test using "=" in an extra set of parens.
authorChris Sharp <csharp@georgialibraries.org>
Tue, 19 Sep 2017 22:10:00 +0000 (18:10 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 7 May 2018 20:09:49 +0000 (16:09 -0400)
commitf50772c5726b1655d67bfefaaa5cd7d4d8892b47
treeccff97129414b571e0fa7eb69dde68f3ae00fa92
parent2f7688068af65cbe44c460daf0835b25344e6cca
LP#1243841 - Wrap truth test using "=" in an extra set of parens.

Referring to https://stackoverflow.com/questions/5476759/compiler-warning-suggest-parentheses-around-assignment-used-as-truth-value,
it is recommended to wrap variable assignments that are used as a truth
test within an extra set of parentheses.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
src/libopensrf/osrf_cache.c