From bb5989ae26e20f173e3bc2a9ce9c1e6f600af297 Mon Sep 17 00:00:00 2001 From: Matej Matuska <75834032+matejmatuska@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:05:57 +0200 Subject: [PATCH] Properly initialize the terminating option This removes compilation warnings about uninitialized values. --- convert.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert.cc b/convert.cc index 5b8db98..972564d 100755 --- a/convert.cc +++ b/convert.cc @@ -25,7 +25,7 @@ int main(int argc, char* argv[]){ {"src", required_argument, NULL, 's'}, {"lmdb", no_argument, NULL, 'l'}, {"help", no_argument, NULL, 'h'}, - {0} + {0, 0, 0, 0} }; int option_index = 0; while (1) {