Remove unused build_release
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Tue, 11 Sep 2012 20:56:24 +0000 (13:56 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Tue, 11 Sep 2012 20:56:24 +0000 (13:56 -0700)
This is used in one place and simply hard coded there to be /etc/os-release
which is the new/current standard everywhere.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
src/configfile.c
src/corewatcher.h

index 3f2cb6f..1003a1c 100644 (file)
@@ -33,7 +33,6 @@
 #include "corewatcher.h"
 
 char *submit_url[MAX_URLS];
-char *build_release = NULL;
 int url_count = 0;
 
 void read_config_file(char *filename)
@@ -91,7 +90,4 @@ void read_config_file(char *filename)
                else
                        url_count++;
        }
-
-       /* Distribution editorial choice, not end-user choice: */
-       build_release = strdup("/etc/os-release");
 }
index 2070238..a99c124 100644 (file)
@@ -88,7 +88,6 @@ extern void read_config_file(char *filename);
 extern int opted_in;
 extern int allow_distro_to_pass_on;
 extern char *submit_url[MAX_URLS];
-extern char *build_release;
 extern int url_count;
 
 /* corewatcher.c */