From: Issam Maghni <me@concati.me>
To: musl@lists.openwall.com
Cc: Issam Maghni <me@concati.me>
Subject: [PATCH 5/5] fix warning parentheses
Date: Mon, 22 Jul 2019 14:07:40 -0400 [thread overview]
Message-ID: <20190722180740.16951-5-me@concati.me> (raw)
In-Reply-To: <20190722180740.16951-1-me@concati.me>
Signed-off-by: Issam Maghni <me@concati.me>
---
src/locale/dcngettext.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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) {
--
2.22.0
next prev parent reply other threads:[~2019-07-22 18:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-22 18:07 [PATCH 1/5] fix warning dangling-else Issam Maghni
2019-07-22 18:07 ` [PATCH 2/5] fix warning logical-op-parentheses Issam Maghni
2019-07-22 18:07 ` [PATCH 3/5] fix warning bitwise-op-parentheses Issam Maghni
2019-07-22 18:07 ` [PATCH 4/5] fix warning shift-op-parentheses Issam Maghni
2019-07-22 18:07 ` Issam Maghni [this message]
2019-07-22 18:50 ` [PATCH 1/5] fix warning dangling-else A. Wilcox
2019-07-22 20:50 ` Rich Felker
2019-07-23 2:31 ` Fangrui Song
2019-07-23 3:38 ` Rich Felker
2019-07-23 4:06 ` Fangrui Song
2019-07-23 4:25 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190722180740.16951-5-me@concati.me \
--to=me@concati.me \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).