summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 0e3cffae82..51610e777d 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -3119,9 +3119,7 @@ options_init_from_torrc(int argc, char **argv)
if (argc > 1 && (!strcmp(argv[1],"--version"))) {
char vbuf[128];
- // XXX020 below, tor_svn_revision will always be defined, right?
- // So we can take out that check? Also in router.c. -RD
- if (tor_svn_revision != NULL && strlen(tor_svn_revision)) {
+ if (strlen(tor_svn_revision)) {
tor_snprintf(vbuf, sizeof(vbuf), " (r%s)", tor_svn_revision);
} else {
vbuf[0] = 0;