mirror of
https://mzte.de/git/LordMZTE/dotfiles.git
synced 2024-12-24 05:13:51 +01:00
fix unecessary discard in prompt
This commit is contained in:
parent
efc41e6f4a
commit
51c7c78a8b
1 changed files with 0 additions and 4 deletions
|
@ -20,9 +20,6 @@ const symbols = struct {
|
||||||
};
|
};
|
||||||
|
|
||||||
pub fn render(writer: anytype, status: i16, mode: FishMode) !void {
|
pub fn render(writer: anytype, status: i16, mode: FishMode) !void {
|
||||||
_ = status;
|
|
||||||
_ = mode;
|
|
||||||
|
|
||||||
try (Renderer(@TypeOf(writer)){
|
try (Renderer(@TypeOf(writer)){
|
||||||
.last_style = null,
|
.last_style = null,
|
||||||
.writer = writer,
|
.writer = writer,
|
||||||
|
@ -152,7 +149,6 @@ fn Renderer(comptime Writer: type) type {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn renderGit(self: *Self) !void {
|
fn renderGit(self: *Self) !void {
|
||||||
_ = self;
|
|
||||||
try checkGitError(c.git_libgit2_init());
|
try checkGitError(c.git_libgit2_init());
|
||||||
defer _ = c.git_libgit2_shutdown();
|
defer _ = c.git_libgit2_shutdown();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue