]> granicus.if.org Git - graphviz/commitdiff
cdt dtvsearch: [nfc] squash unused variable warnings from MSVC
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 20 Feb 2022 23:12:25 +0000 (15:12 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 23 Feb 2022 04:41:47 +0000 (20:41 -0800)
lib/cdt/dtview.c

index c3d139790f2004a5571eb314b876678d7b870291..bf54664e6e5c30afbdb68c02e4becc38cb154ed3 100644 (file)
@@ -10,7 +10,7 @@
 static void* dtvsearch(Dt_t* dt, void* obj, int type)
 {
        Dt_t            *d, *p;
-       void            *o, *n, *ok, *nk;
+       void *o = NULL, *n, *ok, *nk;
        int             cmp, lk, sz, ky;
        Dtcompar_f      cmpf;
        (void)lk;