Fix compile time warnings about comparisons always being false.
[deliverable/binutils-gdb.git] / gdb / dwarf-index-cache.c
index e56cb59343c6837f062ee550aa301384a7540a32..a2f0c42aad4beb648cfdf555954008839366bb0a 100644 (file)
@@ -1,6 +1,6 @@
 /* Caching of GDB/DWARF index files.
 
-   Copyright (C) 1994-2019 Free Software Foundation, Inc.
+   Copyright (C) 1994-2020 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -32,8 +32,8 @@
 #include <string>
 #include <stdlib.h>
 
-/* When set to 1, show debug messages about the index cache.  */
-static int debug_index_cache = 0;
+/* When set to true, show debug messages about the index cache.  */
+static bool debug_index_cache = false;
 
 /* The index cache directory, used for "set/show index-cache directory".  */
 static char *index_cache_directory = NULL;
This page took 0.035484 seconds and 4 git commands to generate.