summaryrefslogtreecommitdiff
path: root/src/journal-remote
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-01 21:59:17 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-01 22:14:13 +0100
commit3958325852869a5e490b5741016c93b8b9a80e11 (patch)
tree67deec65f866186503d4a45c1197121625b159cb /src/journal-remote
parente22aa3d3284709234f086ebebc13a905a295b7a7 (diff)
journal-remote: remove unused variable warning when building without GNUTLS.
Diffstat (limited to 'src/journal-remote')
-rw-r--r--src/journal-remote/journal-remote.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index 20be542096..dc69bb8679 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -1256,7 +1256,6 @@ static int parse_argv(int argc, char *argv[]) {
};
int c, r;
- const char *p;
bool type_a, type_b;
assert(argc >= 0);
@@ -1417,7 +1416,7 @@ static int parse_argv(int argc, char *argv[]) {
case ARG_GNUTLS_LOG: {
#ifdef HAVE_GNUTLS
- p = optarg;
+ const char* p = optarg;
for (;;) {
_cleanup_free_ char *word = NULL;