mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 23:58:25 +02:00
test: fix compiler warning
signal-logging.c:182:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit ea82ececbf)
This commit is contained in:
parent
d230e12d7d
commit
a114286c07
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ static void logging_format(void)
|
|||
strcpy(&buf[sizeof(buf) - 4], "end");
|
||||
|
||||
LogInit(log_file_path, NULL);
|
||||
assert(f = fopen(log_file_path, "r"));
|
||||
assert((f = fopen(log_file_path, "r")));
|
||||
|
||||
#define read_log_msg(msg) do { \
|
||||
msg = fgets(read_buf, sizeof(read_buf), f); \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue