aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2021-08-15 17:57:35 +0200
committerMark Wielaard <mark@klomp.org>2021-08-15 17:57:48 +0200
commit6109a6b4b1ca6453b42a3b99f1998e0eb5674741 (patch)
tree72e16e96210056f56d7203386526b741b9544677 /gcc/rust/backend/rust-compile-resolve-path.cc
parent52c1cdc9c63baeb090680daf6762c02362f2c6cd (diff)
downloadgcc-6109a6b4b1ca6453b42a3b99f1998e0eb5674741.zip
gcc-6109a6b4b1ca6453b42a3b99f1998e0eb5674741.tar.gz
gcc-6109a6b4b1ca6453b42a3b99f1998e0eb5674741.tar.bz2
Suppress uninitialized candidate_type warning in process_traits_for_candidates
Without handling the default case in the switch statement gcc 10.2.1 will warn: rust-hir-path-probe.h:75:40: warning: ‘candidate_type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions