summaryrefslogtreecommitdiff
path: root/src/compgen.c
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-06-21 19:14:47 +0100
committerPhil Jones <philj56@gmail.com>2022-06-21 19:14:47 +0100
commit25b2c9f895fd91fb556809ce513d3681ad279938 (patch)
tree6fa7595308fb26e2e7d61bba95836be496b7557b /src/compgen.c
parent54e90f75203bbf40ec6ac6dd09227e2c6f97cc62 (diff)
Add config file handling.
Single letter style arguments have been removed.
Diffstat (limited to 'src/compgen.c')
-rw-r--r--src/compgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compgen.c b/src/compgen.c
index df04386..84cd323 100644
--- a/src/compgen.c
+++ b/src/compgen.c
@@ -15,7 +15,7 @@
static const char *default_state_dir = ".cache";
static const char *cache_basename = "tofi-compgen";
-[[nodiscard]]
+[[nodiscard("memory leaked")]]
static char *get_cache_path() {
char *cache_name = NULL;
const char *state_path = getenv("XDG_CACHE_HOME");