Skip to content

Commit

Permalink
Fixing compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chukobyte committed Dec 11, 2023
1 parent 72bde6d commit 6b66064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion seika/utils/command_line_args_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SKCmdLineArgKeyResult* sk_cmd_line_args_util_find_or_add_key_result(const SKCmdL
}

SKCmdLineArgResult sk_cmd_line_args_util_parse(int argv, char** args, SKCmdLineArgDef* argDefs) {
SKCmdLineArgResult result = { .keyResults = {0}, .keyResultCount = 0 };
SKCmdLineArgResult result = (SKCmdLineArgResult){ .keyResults = {0}, .keyResultCount = 0 };

Check warning on line 52 in seika/utils/command_line_args_util.c

View workflow job for this annotation

GitHub Actions / build

missing braces around initializer [-Wmissing-braces]
SEStringHashMap* keyToArgDefMap = sk_cmd_line_args_get_key_to_arg_def_map(argDefs);

for (int i = 0; i < argv; i++) {
Expand Down
2 changes: 1 addition & 1 deletion vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "seika",
"version": "0.0.4",
"version": "0.0.5",
"dependencies": [
{
"name": "sdl2",
Expand Down

0 comments on commit 6b66064

Please sign in to comment.