summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-11-01 16:59:30 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-11-01 16:59:30 (EDT)
commit080dba1a541b0518225dea0f646f01b32d19054e (patch)
treea78ab880a2abb4242404b8532431ed381d3a06a4
parent2f64a86dd00ca80655dd28647440e040bf9c55e0 (diff)
downloadmarquee-080dba1a541b0518225dea0f646f01b32d19054e.zip
marquee-080dba1a541b0518225dea0f646f01b32d19054e.tar.gz
marquee-080dba1a541b0518225dea0f646f01b32d19054e.tar.bz2
src/main.c: Fix missing "const" specifier
Fixes: CC src/marquee-main.o src/main.c:34:29: warning: initialization discards ‘const’ qualifier from pointer target type static gchar *opt_profile = "default"; ^
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 07cac5a..3b1a34c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -31,7 +31,7 @@
extern const char *PACKAGE_VERSION_GIT;
-static gchar *opt_profile = "default";
+static const gchar *opt_profile = "default";
static gboolean opt_private;
static gboolean opt_version;
static const gchar **opt_uris;