From aab7b567947417e491708da36720d6b91e843972 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Mon, 16 May 2022 14:58:27 +0200 Subject: [PATCH] remove unused assign to none in gpower2 --- scripts/gpower2/src/gui.zig | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/gpower2/src/gui.zig b/scripts/gpower2/src/gui.zig index 832bb10..28f2419 100644 --- a/scripts/gpower2/src/gui.zig +++ b/scripts/gpower2/src/gui.zig @@ -14,8 +14,6 @@ pub const GuiState = struct { }; pub fn activate(app: *c.GtkApplication, state: *GuiState) callconv(.C) void { - _ = state; - const win = c.gtk_application_window_new(app); c.gtk_window_set_title(u.c(*c.GtkWindow, win), "gpower2"); c.gtk_window_set_modal(u.c(*c.GtkWindow, win), 1);