[LTP] [PATCH 1/2] tst_tmpdir: Remove NULL from static
Petr Vorel
pvorel@suse.cz
Thu Jun 20 07:49:57 CEST 2024
Not needed, reported by checkpatch.pl.
Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
lib/tst_tmpdir.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/tst_tmpdir.c b/lib/tst_tmpdir.c
index b73b5c66f..bcc788390 100644
--- a/lib/tst_tmpdir.c
+++ b/lib/tst_tmpdir.c
@@ -92,7 +92,7 @@
* Define global variables.
*/
extern char *TCID; /* defined/initialized in main() */
-static char *TESTDIR = NULL; /* the directory created */
+static char *TESTDIR; /* the directory created */
static char test_start_work_dir[PATH_MAX];
--
2.45.1
More information about the ltp
mailing list