|
From: Cyril H. <su...@li...> - 2013-05-14 13:21:11
|
The branch, master, has been updated
via 17e8f1fc67b05740b97ab0d6b3adc7f607892709 (commit)
from e68ce79f8fef5617b1190be5ce88ee588135d5f0 (commit)
- Log -----------------------------------------------------------------
commit 17e8f1fc67b05740b97ab0d6b3adc7f607892709
Author: Cyril Hrubis <ch...@su...>
Date: Tue May 14 15:14:03 2013 +0200
openposix/.../sigaddset/1-3: Fix uninitialized variable.
My last fix in this testcase introduced uninitialized variable, sorry.
Signed-off-by: Cyril Hrubis <ch...@su...>
-----------------------------------------------------------------------
Summary of changes:
.../conformance/interfaces/sigaddset/1-3.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/1-3.c b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/1-3.c
index 144d2ac..bb80da7 100644
--- a/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/1-3.c
+++ b/testcases/open_posix_testsuite/conformance/interfaces/sigaddset/1-3.c
@@ -31,7 +31,8 @@ static const int sigs[] = {
int main(void)
{
sigset_t signalset;
- int i, err;
+ unsigned int i;
+ int err = 0;
if (sigemptyset(&signalset) == -1) {
perror("sigemptyset failed -- test aborting\n");
hooks/post-receive
--
ltp
|