summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Chantry <chantry.xavier@gmail.com>2011-04-02 23:19:53 +0200
committerDan McGee <dan@archlinux.org>2011-04-04 23:33:39 -0500
commit2f71d1dc0084f7ee44afb9766e81847974820420 (patch)
tree334733cb6709c5c4471b6f35a09b6c4497b15996
parenta46183783504e01a505222c47d1f7fccfeec70e9 (diff)
pacman.c : useless extra parenthesis
clang 3.0 git complained about these Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index eac9c9c6..74659c56 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -322,7 +322,7 @@ static void handler(int signum)
xwrite(out, msg1, strlen(msg1));
xwrite(err, msg2, strlen(msg2));
exit(signum);
- } else if((signum == SIGINT)) {
+ } else if(signum == SIGINT) {
const char *msg = "\nInterrupt signal received\n";
xwrite(err, msg, strlen(msg));
if(alpm_trans_interrupt() == 0) {