diff options
Diffstat (limited to 'src/list.zig')
| -rw-r--r-- | src/list.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.zig b/src/list.zig index e5daa87..b6e3847 100644 --- a/src/list.zig +++ b/src/list.zig | |||
| @@ -31,7 +31,7 @@ pub fn main(comptime Result: type, allocator: Allocator, res: Result) !void { | |||
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | if (list_active) { | 33 | if (list_active) { |
| 34 | var active = try Installation.getActiveName(allocator); | 34 | const active = try Installation.getActiveName(allocator); |
| 35 | defer if (active) |s| allocator.free(s); | 35 | defer if (active) |s| allocator.free(s); |
| 36 | // TODO: zig-bug should I really need to do this? | 36 | // TODO: zig-bug should I really need to do this? |
| 37 | try printActive(if (active) |a| a else null); | 37 | try printActive(if (active) |a| a else null); |