Skip to content

Commit

Permalink
evi: annotate evi_param_set_int to fix Coverity
Browse files Browse the repository at this point in the history
Fixes several Coverity alarms
  • Loading branch information
razvancrainea committed Jul 20, 2020
1 parent ad65318 commit c460787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions evi/evi_params.h
Expand Up @@ -77,6 +77,7 @@ int evi_param_set(evi_param_p element, void *param, int flags);

/* sets an integer value to a parameter */
#define evi_param_set_int(p_el, p_int) \
/* coverity[overrun-buffer-val] */ \
evi_param_set(p_el, p_int, EVI_INT_VAL)

/* sets a string value to a parameter */
Expand Down

0 comments on commit c460787

Please sign in to comment.