stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=e33f3fd7c9c284ea6c3d1d14b4d897fc8c800f4a

commit e33f3fd7c9c284ea6c3d1d14b4d897fc8c800f4a
Author: Marcel Hollerbach <[email protected]>
Date:   Thu Mar 26 16:44:55 2020 +0100

    exactness_recorder: cleanup code a bit
    
    _test_name was not used globally, so lets move it to the used scope.
    Verbose is not used at all either.
    
    Reviewed-by: Stefan Schmidt <[email protected]>
    Differential Revision: https://phab.enlightenment.org/D11609
---
 src/bin/exactness/recorder.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/bin/exactness/recorder.c b/src/bin/exactness/recorder.c
index 9a33a57c4c..75b5cebb52 100644
--- a/src/bin/exactness/recorder.c
+++ b/src/bin/exactness/recorder.c
@@ -33,8 +33,6 @@
 static int _log_domain = -1;
 
 static const char *_out_filename = NULL;
-static const char *_test_name = NULL;
-static int _verbose = 0;
 
 static Eina_List *_evas_list = NULL;
 static unsigned int _last_evas_id = 0;
@@ -252,7 +250,6 @@ static const Ecore_Getopt optdesc = {
   {
     ECORE_GETOPT_STORE_STR('t', "test", "Name of the filename where to store 
the test."),
     ECORE_GETOPT_STORE_STR('f', "fonts-dir", "Specify a directory of the fonts 
that should be used."),
-    ECORE_GETOPT_COUNT('v', "verbose", "Turn verbose messages on."),
 
     ECORE_GETOPT_LICENSE('L', "license"),
     ECORE_GETOPT_COPYRIGHT('C', "copyright"),
@@ -273,7 +270,6 @@ int main(int argc, char **argv)
    Ecore_Getopt_Value values[] = {
      ECORE_GETOPT_VALUE_STR(dest),
      ECORE_GETOPT_VALUE_STR(fonts_dir),
-     ECORE_GETOPT_VALUE_INT(_verbose),
 
      ECORE_GETOPT_VALUE_BOOL(want_quit),
      ECORE_GETOPT_VALUE_BOOL(want_quit),
@@ -320,6 +316,7 @@ int main(int argc, char **argv)
      }
    else
      {
+        const char *_test_name;
         char *slash = strrchr(_out_filename, '/');
         if (slash) _test_name = strdup(slash + 1);
         else _test_name = strdup(_out_filename);

-- 


Reply via email to