>From 5a6c626efeeb8d152ed3e46e37fbcca6f50a643c Mon Sep 17 00:00:00 2001
From: Mike McCormack <[email protected]>
Date: Tue, 19 Apr 2011 13:48:06 +0900
Subject: [PATCH 7/9] Fix warnings (parentheses)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[CC] preload/sb_exec.o
preload/sb_exec.c: In function �쁯repare_exec��:
preload/sb_exec.c:1142: warning: suggest parentheses around ��&&�� within ��||��
Change-Id: I81b5bfde40fc325f0c9b4d60371c14cd16cb9b80
---
preload/sb_exec.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/preload/sb_exec.c b/preload/sb_exec.c
index a9c109f..e750635 100644
--- a/preload/sb_exec.c
+++ b/preload/sb_exec.c
@@ -1137,8 +1137,8 @@ static int prepare_exec(const char *exec_fn_name,
allow_static_bin = getenv(
"SBOX_ALLOW_STATIC_BINARY");
- if (allow_static_bin &&
- !strcmp(allow_static_bin, mapped_file)
+ if ((allow_static_bin &&
+ !strcmp(allow_static_bin, mapped_file))
|| getenv("SBOX_NATIVE_HAS_CPUTRANSP") != NULL) {
/* no warnning, just debug */
SB_LOG(SB_LOGLEVEL_DEBUG,
--
1.7.9.1
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel