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)
committerChris Sharp <csharp@georgialibraries.org>
Wed, 20 Sep 2017 11:23:42 +0000 (07:23 -0400)
commit8a8570a314b7afe08028052c2eaa5da21c18a814
treece53206e65bbb653ad6ad0fc8ce354f6a35f57c3
parent1f38166249e9f8fbb58ad21d1a00b935200a9278
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>
src/libopensrf/osrf_cache.c