mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 09:37:34 +00:00
Userland: Fix many compiler warnings.
This commit is contained in:
parent
0deade2883
commit
5980007e44
13 changed files with 22 additions and 19 deletions
|
@ -39,7 +39,7 @@ CArgsParser::CArgsParser(const String& program_name)
|
|||
{
|
||||
}
|
||||
|
||||
CArgsParserResult CArgsParser::parse(const int argc, const char** argv)
|
||||
CArgsParserResult CArgsParser::parse(int argc, char** argv)
|
||||
{
|
||||
CArgsParserResult res;
|
||||
|
||||
|
@ -57,7 +57,7 @@ CArgsParserResult CArgsParser::parse(const int argc, const char** argv)
|
|||
return res;
|
||||
}
|
||||
|
||||
int CArgsParser::parse_next_param(const int index, const char** argv, const int params_left, CArgsParserResult& res)
|
||||
int CArgsParser::parse_next_param(int index, char** argv, const int params_left, CArgsParserResult& res)
|
||||
{
|
||||
if (params_left == 0)
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue