[easytag] Make configuration variable struct static



commit fc3610b47cd61565ed8b2a0075e338efa1e61e01
Author: David King <amigadave amigadave com>
Date:   Sun May 5 21:12:00 2013 +0100

    Make configuration variable struct static
    
    Found with findstatic.pl.

 src/setting.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/setting.c b/src/setting.c
index 4f3d8eb..3111ebb 100644
--- a/src/setting.c
+++ b/src/setting.c
@@ -109,7 +109,7 @@ static void set_sorting_indicator_for_column_id (gint column_id,
 /********************
  * Config Variables *
  ********************/
-tConfigVariable Config_Variables[] =
+static const tConfigVariable Config_Variables[] =
 {
     {"load_on_startup",                     CV_TYPE_BOOL,    &LOAD_ON_STARTUP                   },
     {"default_path_to_mp3",                 CV_TYPE_STRING,  &DEFAULT_PATH_TO_MP3               },


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