[5/5] fix warning parentheses

Submitted by Issam Maghni on July 22, 2019, 6:07 p.m.

Details

Message ID 20190722180740.16951-5-me@concati.me
State New
Series "Series without cover letter"
Headers show

Commit Message

Issam Maghni July 22, 2019, 6:07 p.m.
Signed-off-by: Issam Maghni <me@concati.me>
---
 src/locale/dcngettext.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/src/locale/dcngettext.c b/src/locale/dcngettext.c
index 4c304393..3a10e42f 100644
--- a/src/locale/dcngettext.c
+++ b/src/locale/dcngettext.c
@@ -81,7 +81,7 @@  char *bindtextdomain(const char *domainname, const char *dirname)
 	}
 
 	UNLOCK(lock);
-	
+
 	return (char *)p->dirname;
 }
 
@@ -178,7 +178,7 @@  notrans:
 			snprintf(name, sizeof name, "%s/%.*s%.*s/%s/%s.mo\0",
 				dirname, (int)loclen, locname,
 				(int)alt_modlen, modname, catname, domainname);
-			if (map = __map_file(name, &map_size)) break;
+			if ((map = __map_file(name, &map_size))) break;
 
 			/* Try dropping @mod, _YY, then both. */
 			if (alt_modlen) {