Skip to content

Commit 97ed752

Browse files
heplessermuffgaga
authored andcommitted
fixup(b89293): cleanup nearby variables too
1 parent b892930 commit 97ed752

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

models/correlomatrix_detector.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@ nest::correlomatrix_detector::handle( SpikeEvent& e )
350350
{
351351
size_t bin;
352352
decltype( sender ) other = spike_j->receptor_channel_;
353-
long sender_ind, other_ind;
353+
decltype( sender ) sender_ind = 0;
354+
decltype( sender ) other_ind = 0;
354355

355356
if ( spike_i < spike_j->timestep_ )
356357
{

0 commit comments

Comments
 (0)