public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/2] tst_tmpdir: Remove NULL from static
@ 2024-06-20  5:49 Petr Vorel
  2024-06-20  5:49 ` [LTP] [PATCH 2/2] lib: Create tst_tmpdir.h Petr Vorel
  0 siblings, 1 reply; 4+ messages in thread
From: Petr Vorel @ 2024-06-20  5:49 UTC (permalink / raw)
  To: ltp

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-06-21 10:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-20  5:49 [LTP] [PATCH 1/2] tst_tmpdir: Remove NULL from static Petr Vorel
2024-06-20  5:49 ` [LTP] [PATCH 2/2] lib: Create tst_tmpdir.h Petr Vorel
2024-06-21 10:15   ` Cyril Hrubis
2024-06-21 10:58     ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox