summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2017-03-23 12:14:46 -0600
committerEduardo Chappa <chappa@washington.edu>2017-03-23 12:14:46 -0600
commit3f282795f86892929e970f779e339875a80132a7 (patch)
treeac3419a4782e562bbca1a114bc17a4a8ab99d349
parent843b2f16abfd949e09b1c5465387b1b0f724994a (diff)
downloadalpine-3f282795f86892929e970f779e339875a80132a7.tar.xz
* clear out a few warnings when Alpine is built with clang.
-rw-r--r--alpine/adrbkcmd.c18
-rw-r--r--pith/pine.hlp2
2 files changed, 10 insertions, 10 deletions
diff --git a/alpine/adrbkcmd.c b/alpine/adrbkcmd.c
index 4ab80f0f..c6663405 100644
--- a/alpine/adrbkcmd.c
+++ b/alpine/adrbkcmd.c
@@ -6748,15 +6748,15 @@ _("\n \"^G\" for help specific to each item. \"^X\" to make the query, or \"^C\"
((*sq->locality != '\0') ? 1 : 0);
need_and = (categories > 1);
- if((sq->cn ? strlen(sq->cn) : 0 +
- sq->sn ? strlen(sq->sn) : 0 +
- sq->gn ? strlen(sq->gn) : 0 +
- sq->mail ? strlen(sq->mail) : 0 +
- sq->org ? strlen(sq->org) : 0 +
- sq->unit ? strlen(sq->unit) : 0 +
- sq->country ? strlen(sq->country) : 0 +
- sq->state ? strlen(sq->state) : 0 +
- sq->locality ? strlen(sq->locality) : 0) > FILTSIZE - 100){
+ if(((sq->cn ? strlen(sq->cn) : 0) +
+ (sq->sn ? strlen(sq->sn) : 0) +
+ (sq->gn ? strlen(sq->gn) : 0) +
+ (sq->mail ? strlen(sq->mail) : 0) +
+ (sq->org ? strlen(sq->org) : 0) +
+ (sq->unit ? strlen(sq->unit) : 0) +
+ (sq->country ? strlen(sq->country) : 0) +
+ (sq->state ? strlen(sq->state) : 0) +
+ (sq->locality ? strlen(sq->locality) : 0)) > FILTSIZE - 100){
if(error)
*error = cpystr(_("Search strings too long"));
diff --git a/pith/pine.hlp b/pith/pine.hlp
index a3fa40f8..fc51349c 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 202 2017-01-01 12:49:25
+Alpine Commit 207 2017-03-23 12:14:40
============= h_news =================
<HTML>
<HEAD>