diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-22 19:01:07 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-22 19:01:07 -0800 |
commit | 76329c0206ede0a986da423e6a813ef91334f6cd (patch) | |
tree | 5a70ab28b4d10e92b0e2ca8e12efc99f2b8fd425 /src/kilo.c | |
parent | e77f3eb9f9cfbd79f56c666545e96d00cb752695 (diff) | |
download | teliva-76329c0206ede0a986da423e6a813ef91334f6cd.tar.gz |
standardize warning flags everywhere
I'd like to enable -Wextra as well, but that creates some false positives. I've at least made my changes clean w.r.t. -Wextra. Now we have 4 remaining warnings with gcc 9.3 that seem genuine. Need to fix those.
Diffstat (limited to 'src/kilo.c')
-rw-r--r-- | src/kilo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kilo.c b/src/kilo.c index f43cfdb..1e672c1 100644 --- a/src/kilo.c +++ b/src/kilo.c @@ -1119,7 +1119,7 @@ void edit(lua_State* L, char* filename, const char* message) { } } -void resumeEdit(lua_State* L, char* filename) { +void resumeEdit(lua_State* L) { Quit = 0; editorSetStatusMessage(Previous_error); while(!Quit) { |