This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch master
in repository gfs2-utils.
commit 90c03cb519a08e24e542f56345a9ab28b9fbec9e
Author: Andrew Price <anprice(a)redhat.com>
Date: Wed Mar 7 11:53:18 2018 +0000
gfs2l: Remove some dead code from the interpreter loop
Spotted by coverity.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
gfs2/libgfs2/gfs2l.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gfs2/libgfs2/gfs2l.c b/gfs2/libgfs2/gfs2l.c
index 9c63ec4..a8aa5fa 100644
--- a/gfs2/libgfs2/gfs2l.c
+++ b/gfs2/libgfs2/gfs2l.c
@@ -178,10 +178,6 @@ int main(int argc, char *argv[])
for (result = lgfs2_lang_result_next(state, &sbd);
result != NULL;
result = lgfs2_lang_result_next(state, &sbd)) {
- if (result == NULL) {
- fprintf(stderr, "Failed to interpret script\n");
- return -1;
- }
lgfs2_lang_result_print(result);
lgfs2_lang_result_free(&result);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date