summaryrefslogtreecommitdiff
path: root/src/app/main/subsysmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/main/subsysmgr.c')
-rw-r--r--src/app/main/subsysmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/main/subsysmgr.c b/src/app/main/subsysmgr.c
index 8be4a7d75c..ca23b5df93 100644
--- a/src/app/main/subsysmgr.c
+++ b/src/app/main/subsysmgr.c
@@ -385,7 +385,7 @@ subsystems_get_state_idx(const subsys_fns_t *sys)
tor_assert(i >= 0);
return sys_status[i].state_idx;
}
-#endif
+#endif /* defined(TOR_UNIT_TESTS) */
/**
* Call all appropriate set_options() methods to tell the various subsystems