Skip to content

Commit

Permalink
misc: fix linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rr- committed Sep 13, 2024
1 parent 45b2781 commit ac6382e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
3 changes: 1 addition & 2 deletions src/game/clock.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ bool Clock_CheckElapsedMilliseconds(CLOCK_TIMER *timer, int32_t wait);

// The same as Clock_CheckElapsedMilliseconds, except does not scale the result
// by the turbo cheat multiplier.
bool Clock_CheckElapsedRawMilliseconds(
CLOCK_TIMER *const timer, const int32_t how_often);
bool Clock_CheckElapsedRawMilliseconds(CLOCK_TIMER *timer, int32_t how_often);

void Clock_GetDateTime(char *date_time);

Expand Down
5 changes: 2 additions & 3 deletions src/game/requester.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ void Requester_ClearTextstrings(REQUEST_INFO *req);
int32_t Requester_Display(REQUEST_INFO *req);
void Requester_SetHeading(REQUEST_INFO *req, const char *string);
void Requester_ChangeItem(
REQUEST_INFO *req, int32_t idx, bool is_blocked, const char *const fmt,
...);
REQUEST_INFO *req, int32_t idx, bool is_blocked, const char *fmt, ...);
void Requester_AddItem(
REQUEST_INFO *req, bool is_blocked, const char *const fmt, ...);
REQUEST_INFO *req, bool is_blocked, const char *fmt, ...);
void Requester_SetSize(REQUEST_INFO *req, int32_t max_lines, int16_t y);
2 changes: 1 addition & 1 deletion subprojects/libtrx
2 changes: 1 addition & 1 deletion tools/additional_lint
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
from libtrx.cli.additional_lint import run_script

run_script(ignored_extensions=[".patch", ".bin"])
run_script(ignored_patterns=["*.patch", "*.bin", "gl_core_3_3.h"])

0 comments on commit ac6382e

Please sign in to comment.