|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 2b01a801f6c597a60a1e622978bf7ac0105b9666 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Tue, 30 Sep 2014 23:37:10 +0200
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] test-fileio: Remove dead check
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
t cannot be null here
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
src/test/test-fileio.c | 2 +-
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/src/test/test-fileio.c b/src/test/test-fileio.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index 1b99828191..ad65abf426 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/src/test/test-fileio.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/src/test/test-fileio.c
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -258,7 +258,7 @@ static void test_status_field(void) {
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
assert_se(safe_atollu(s, &buffers) == 0);
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
}
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- if (p && t)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ if (p)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
assert(buffers < total);
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
/* Seccomp should be a good test for field full of zeros. */
|