From 56a229af459728e786621595f4c4b212121fa98a Mon Sep 17 00:00:00 2001 From: Tim Pepper Date: Tue, 11 Sep 2012 13:56:24 -0700 Subject: [PATCH] Remove unused build_release 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 --- src/configfile.c | 4 ---- src/corewatcher.h | 1 - 2 files changed, 5 deletions(-) diff --git a/src/configfile.c b/src/configfile.c index 3f2cb6f..1003a1c 100644 --- a/src/configfile.c +++ b/src/configfile.c @@ -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"); } diff --git a/src/corewatcher.h b/src/corewatcher.h index 2070238..a99c124 100644 --- a/src/corewatcher.h +++ b/src/corewatcher.h @@ -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 */ -- 2.7.4