Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
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
White Rabbit Switch - Software
Commits
785218ea
Commit
785218ea
authored
Jun 08, 2015
by
Adam Wujek
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
userspace/snmpd: fix uninitialized variables in wrsBootStatusGroup.c
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
c8d4229c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wrsBootStatusGroup.c
userspace/snmpd/wrsBootStatusGroup.c
+4
-4
No files found.
userspace/snmpd/wrsBootStatusGroup.c
View file @
785218ea
...
...
@@ -336,10 +336,10 @@ static void get_loaded_kernel_modules_status(void)
{
FILE
*
f
;
char
key
[
41
];
/* 1 for null char */
int
modules_found
;
int
ret
;
int
modules_found
=
0
;
int
ret
=
0
;
int
i
;
int
guess_index
;
int
guess_index
=
0
;
int
modules_missing
;
f
=
fopen
(
MODULES_FILE
,
"r"
);
...
...
@@ -386,7 +386,7 @@ static void get_deamons_status(void)
{
FILE
*
f
;
char
key
[
41
];
/* 1 for null char */
int
ret
;
int
ret
=
0
;
int
i
;
int
processes_wrong
=
0
;
/* number of too many or too few processes */
...
...
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