Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sven Gestegård Robertz
LabComm
Commits
571541d7
Commit
571541d7
authored
Aug 21, 2013
by
Anders Blomdell
Browse files
Removed tautological test.
parent
d0109d90
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/c/labcomm.c
View file @
571541d7
...
...
@@ -154,7 +154,7 @@ const char *labcomm_error_get_str(enum labcomm_error error_id)
{
const
char
*
error_str
=
NULL
;
// Check if this is a known error ID.
if
(
0
<=
error_id
&&
error_id
<
labcomm_error_string_count
)
{
if
(
error_id
<
labcomm_error_string_count
)
{
error_str
=
labcomm_error_string
[
error_id
];
}
return
error_str
;
...
...
Write
Preview
Supports
Markdown
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