mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-16 06:15:08 -05:00
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>
This commit is contained in:
parent
a461837835
commit
2f71d1dc00
@ -322,7 +322,7 @@ static void handler(int signum)
|
|||||||
xwrite(out, msg1, strlen(msg1));
|
xwrite(out, msg1, strlen(msg1));
|
||||||
xwrite(err, msg2, strlen(msg2));
|
xwrite(err, msg2, strlen(msg2));
|
||||||
exit(signum);
|
exit(signum);
|
||||||
} else if((signum == SIGINT)) {
|
} else if(signum == SIGINT) {
|
||||||
const char *msg = "\nInterrupt signal received\n";
|
const char *msg = "\nInterrupt signal received\n";
|
||||||
xwrite(err, msg, strlen(msg));
|
xwrite(err, msg, strlen(msg));
|
||||||
if(alpm_trans_interrupt() == 0) {
|
if(alpm_trans_interrupt() == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user