Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
c90d9232
Commit
c90d9232
authored
Jul 09, 2014
by
cremno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding style adjustments
parent
b4c1a943
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
+4
-3
No files found.
mrbgems/mruby-bin-strip/tools/mruby-strip/mruby-strip.c
View file @
c90d9232
...
@@ -45,9 +45,9 @@ parse_args(int argc, char **argv, struct strip_args *args)
...
@@ -45,9 +45,9 @@ parse_args(int argc, char **argv, struct strip_args *args)
*
args
=
initial_args
;
*
args
=
initial_args
;
for
(
i
=
1
;
i
<
argc
;
++
i
)
{
for
(
i
=
1
;
i
<
argc
;
++
i
)
{
size_t
cons
t
len
=
strlen
(
argv
[
i
]);
const
size_
t
len
=
strlen
(
argv
[
i
]);
if
(
len
>=
2
&&
argv
[
i
][
0
]
==
'-'
)
{
if
(
len
>=
2
&&
argv
[
i
][
0
]
==
'-'
)
{
switch
(
argv
[
i
][
1
])
{
switch
(
argv
[
i
][
1
])
{
case
'l'
:
case
'l'
:
args
->
lvar
=
TRUE
;
args
->
lvar
=
TRUE
;
break
;
break
;
...
@@ -59,7 +59,8 @@ parse_args(int argc, char **argv, struct strip_args *args)
...
@@ -59,7 +59,8 @@ parse_args(int argc, char **argv, struct strip_args *args)
default:
default:
return
-
1
;
return
-
1
;
}
}
}
else
{
}
else
{
break
;
break
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment