Fix warning with gcc 11.3.1
All checks were successful
CI / build:debug (pull_request) Successful in 1m29s
CI / build:compilers (pull_request) Successful in 1m34s
CI / build:nompi (pull_request) Successful in 1m36s
CI / build:local (pull_request) Successful in 1m50s
CI / build:rt (pull_request) Successful in 1m53s
CI / build:asan (pull_request) Successful in 2m20s
All checks were successful
CI / build:debug (pull_request) Successful in 1m29s
CI / build:compilers (pull_request) Successful in 1m34s
CI / build:nompi (pull_request) Successful in 1m36s
CI / build:local (pull_request) Successful in 1m50s
CI / build:rt (pull_request) Successful in 1m53s
CI / build:asan (pull_request) Successful in 2m20s
This commit is contained in:
parent
3a300c816e
commit
442f63bebb
@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- Fix breakdown model error that was preventing a zero value to be written in
|
- Fix breakdown model error that was preventing a zero value to be written in
|
||||||
the PRV trace.
|
the PRV trace.
|
||||||
|
- Fix gcc 11.3.1 -Wstringop-overflow warning.
|
||||||
|
|
||||||
## [1.9.0] - 2024-04-25
|
## [1.9.0] - 2024-04-25
|
||||||
|
|
||||||
|
@ -64,7 +64,7 @@ model_evspec_init(struct model_evspec *evspec, struct model_spec *spec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct ev_spec *
|
struct ev_spec *
|
||||||
model_evspec_find(struct model_evspec *evspec, char mcv[4])
|
model_evspec_find(struct model_evspec *evspec, char *mcv)
|
||||||
{
|
{
|
||||||
struct ev_spec *s = NULL;
|
struct ev_spec *s = NULL;
|
||||||
HASH_FIND_STR(evspec->spec, mcv, s);
|
HASH_FIND_STR(evspec->spec, mcv, s);
|
||||||
|
@ -19,6 +19,6 @@ struct model_evspec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
USE_RET int model_evspec_init(struct model_evspec *evspec, struct model_spec *spec);
|
USE_RET int model_evspec_init(struct model_evspec *evspec, struct model_spec *spec);
|
||||||
USE_RET struct ev_spec *model_evspec_find(struct model_evspec *evspec, char mcv[4]);
|
USE_RET struct ev_spec *model_evspec_find(struct model_evspec *evspec, char *mcv);
|
||||||
|
|
||||||
#endif /* MODEL_EVSPEC_H */
|
#endif /* MODEL_EVSPEC_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user