Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PPSi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
PPSi
Commits
66180a60
Commit
66180a60
authored
May 17, 2018
by
Jean-Claude BAU
Committed by
Adam Wujek
Nov 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG fix in bmc_update_ebest(): best variable not initialized
parent
e6bca562
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
bmc.c
proto-standard/bmc.c
+1
-3
No files found.
proto-standard/bmc.c
View file @
66180a60
...
...
@@ -1244,7 +1244,7 @@ static void bmc_update_erbest(struct pp_globals *ppg)
/* Find Ebest, 9.3.2.2 */
static
void
bmc_update_ebest
(
struct
pp_globals
*
ppg
)
{
int
i
,
best
;
int
i
,
best
=
0
;
struct
pp_instance
*
ppi
,
*
ppi_best
;
PortIdentity
*
frgn_master_pid
;
...
...
@@ -1267,8 +1267,6 @@ static void bmc_update_ebest(struct pp_globals *ppg)
best
=
i
;
}
}
else
{
best
=
0
;
}
/* check if best master is qualified */
ppi_best
=
INST
(
ppg
,
best
);
...
...
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