Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Elsa Gonsiorowski
codes
Commits
9aab39f7
Commit
9aab39f7
authored
Mar 03, 2016
by
Jonathan Jenkins
Browse files
check repetition id in codes-mapping
parent
2e250049
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/util/codes_mapping.c
View file @
9aab39f7
...
...
@@ -160,6 +160,8 @@ void codes_mapping_get_lp_id(
}
// does group name match?
if
(
strcmp
(
lpg
->
name
.
ptr
,
group_name
)
==
0
){
// sanity check rep_id
if
(
rep_id
>=
lpg
->
repetitions
)
goto
ERROR
;
tw_lpid
local_lp_count
=
0
;
// for each lp type
for
(
int
l
=
0
;
l
<
lpg
->
lptypes_count
;
l
++
){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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