summaryrefslogtreecommitdiff
path: root/src/gpt-auto-generator/gpt-auto-generator.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-08-04 22:36:21 +0200
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-08-04 22:36:21 +0200
commit1ae2285324e01dc3a2d44d7b1711b939261cc756 (patch)
treee4d10c7dd45eaf41f831b29652252af1d1fc6176 /src/gpt-auto-generator/gpt-auto-generator.c
parent75440a51b2abcbe495bed4aebae1699b3d156ac0 (diff)
gpt-auto-generator: remove unused variable
Diffstat (limited to 'src/gpt-auto-generator/gpt-auto-generator.c')
-rw-r--r--src/gpt-auto-generator/gpt-auto-generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpt-auto-generator/gpt-auto-generator.c b/src/gpt-auto-generator/gpt-auto-generator.c
index 50acb7595c..9d889c17d8 100644
--- a/src/gpt-auto-generator/gpt-auto-generator.c
+++ b/src/gpt-auto-generator/gpt-auto-generator.c
@@ -250,7 +250,7 @@ static int add_automount(
const char *description,
usec_t timeout) {
- _cleanup_free_ char *unit = NULL, *lnk = NULL, *crypto_what = NULL;
+ _cleanup_free_ char *unit = NULL, *lnk = NULL;
_cleanup_free_ char *opt, *p = NULL;
_cleanup_fclose_ FILE *f = NULL;
int r;