[libcroco] Fix unused status variable in main()



commit 956078a3cf703b3de5117659a50fae1bc00e8c20
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Sat Oct 31 22:47:43 2015 +0000

    Fix unused status variable in main()
    
    https://bugzilla.gnome.org/show_bug.cgi?id=710076

 csslint/csslint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/csslint/csslint.c b/csslint/csslint.c
index beb60c4..faf4c09 100644
--- a/csslint/csslint.c
+++ b/csslint/csslint.c
@@ -1006,5 +1006,5 @@ main (int argc, char **argv)
                 }
         }
 
-        return 0;
+        return (status == CR_OK) ? 0 : -2;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]