Remove some unused variables with obviously no side effects

This commit is contained in:
Richard Cohen
2023-01-24 16:23:52 +00:00
parent 4e25bbfc43
commit ea2d3be217
99 changed files with 18 additions and 245 deletions

View File

@@ -69,8 +69,6 @@
#include "test-engine-strings.h"
#include <qofinstance-p.h>
static gboolean glist_strings_only = FALSE;
static GHashTable *exclude_kvp_types = NULL;
static gint kvp_max_depth = 5;
static gint kvp_frame_max_elements = 10;
@@ -152,8 +150,6 @@ kvp_type_excluded (KvpValue::Type kvp_type)
return FALSE;
}
static gboolean zero_nsec = FALSE;
/* ========================================================== */
static inline gboolean
@@ -1702,11 +1698,9 @@ get_random_query(void)
while (num_terms-- > 0)
{
gint pr_type;
KvpValue *value;
time64 start;
time64 end;
GList *guids;
GSList *path;
char *string;
GncGUID *guid;