Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
35c09e8e
Commit
35c09e8e
authored
Aug 09, 2013
by
Misbah Mubarak
Browse files
minor fix to remove the warning message
parent
4d0d7c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/codes_mapping.c
View file @
35c09e8e
...
...
@@ -40,13 +40,12 @@ int codes_mapping_get_group_reps(char* grp_name)
}
int
codes_mapping_get_lp_count
(
char
*
grp_name
,
char
*
lp_type_name
)
{
int
grp
,
lpt
,
lp_types_count
,
rep
;
int
grp
,
lpt
,
lp_types_count
;
// Account for all lps in the previous groups
for
(
grp
=
0
;
grp
<
lpconf
.
lpgroups_count
;
grp
++
)
{
lp_types_count
=
lpconf
.
lpgroups
[
grp
].
lptypes_count
;
rep
=
lpconf
.
lpgroups
[
grp
].
repetitions
;
if
(
strcmp
(
lpconf
.
lpgroups
[
grp
].
name
,
grp_name
)
==
0
)
{
...
...
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