diff options
| author | Randy Palamar <randy@rnpnr.xyz> | 2025-12-13 09:38:53 -0700 |
|---|---|---|
| committer | Randy Palamar <randy@rnpnr.xyz> | 2025-12-22 09:13:47 -0700 |
| commit | dd29e2f4321bea25c53af5def7a23fe57640de50 (patch) | |
| tree | e551785b024639f560ff4709c94fe8704e06bd4d /vis.c | |
| parent | 569b61137cf45521d9fd4f693cf841be485dd4b8 (diff) | |
| download | vis-dd29e2f4321bea25c53af5def7a23fe57640de50.tar.gz vis-dd29e2f4321bea25c53af5def7a23fe57640de50.tar.xz | |
silence new gcc warnings
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -627,13 +627,13 @@ void vis_cleanup(Vis *vis) register_release(&vis->registers[i]); ui_terminal_free(&vis->ui); if (vis->usercmds) { - const char *name; + const char *name = 0; while (map_first(vis->usercmds, &name) && vis_cmd_unregister(vis, name)); } map_free(vis->usercmds); map_free(vis->cmds); if (vis->options) { - const char *name; + const char *name = 0; while (map_first(vis->options, &name) && vis_option_unregister(vis, name)); } map_free(vis->options); |
