Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
List
Board
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
12c3dcdf
Commit
12c3dcdf
authored
Jul 24, 2015
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
trivial: correct an harmless build warning in tools
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
27066e77
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
genramvhd.c
tools/genramvhd.c
+4
-1
No files found.
tools/genramvhd.c
View file @
12c3dcdf
...
@@ -54,7 +54,7 @@ inline int my_isok(char c)
...
@@ -54,7 +54,7 @@ inline int my_isok(char c)
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
int
j
,
opt
,
error
,
i_width
;
int
j
,
opt
,
error
=
0
,
i_width
;
long
i
,
elements
,
size
,
columns
,
entry_width
;
long
i
,
elements
,
size
,
columns
,
entry_width
;
char
*
value_end
;
char
*
value_end
;
unsigned
char
x
[
16
];
/* Up to 128 bit */
unsigned
char
x
[
16
];
/* Up to 128 bit */
...
@@ -117,6 +117,9 @@ int main(int argc, char **argv)
...
@@ -117,6 +117,9 @@ int main(int argc, char **argv)
}
}
}
}
if
(
error
)
return
1
;
if
(
optind
+
1
!=
argc
)
{
if
(
optind
+
1
!=
argc
)
{
fprintf
(
stderr
,
fprintf
(
stderr
,
"%s: expecting one non-optional argument: <filename>
\n
"
,
"%s: expecting one non-optional argument: <filename>
\n
"
,
...
...
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