mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 14:02:52 +07:00
Simplify, conds[] need not be static
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -112,7 +112,7 @@ enum cond_state cond_get_agg(const char *names)
|
||||
|
||||
int cond_affects(const char *name, const char *names)
|
||||
{
|
||||
static char conds[MAX_COND_LEN];
|
||||
char conds[MAX_COND_LEN];
|
||||
char *cond;
|
||||
|
||||
if (!name || !names)
|
||||
|
||||
Reference in New Issue
Block a user