From 9ff0ffbd28416538a4ccc2445875339c7eb20dfe Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 7 Jul 2013 12:54:59 +0200 Subject: [PATCH] Add missing assert() to init_from_environment(). --- src/trackfds.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/trackfds.h b/src/trackfds.h index 30693f4..5720b0c 100644 --- a/src/trackfds.h +++ b/src/trackfds.h @@ -83,6 +83,8 @@ static void init_from_environment(void) { int saved_errno = errno; + assert(!initialized); + initialized = 1; tracked_fds_list_count = 0; -- 2.45.2