threads.c:6403:6: warning: 'current_idx' may be used uninitialized in this function...
authorJay Krell <jaykrell@microsoft.com>
Thu, 13 Jun 2019 08:41:30 +0000 (01:41 -0700)
committerLarry Ewing <lewing@microsoft.com>
Tue, 18 Jun 2019 02:53:08 +0000 (21:53 -0500)
commitb30a4b8c0ddd7d1e47f3d6c18f4bc12d473c16c9
treee140696080253f9fd832c02d31d5f9697ba86f1b
parentbef9e27356ff76756c8b11109e5e0726eba7527c
threads.c:6403:6: warning: 'current_idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if (i == current_idx)
      ^
threads.c:6549:6: note: 'current_idx' was declared here
  int current_idx;
      ^~~~~~~~~~~

Commit migrated from https://github.com/mono/mono/commit/e94887a18ce1c0e0b6d240bd111a15ada01982d8
src/mono/mono/metadata/threads.c