dss: Do not shadow a global declaration.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 17 Jun 2016 08:17:28 +0000 (10:17 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 29 Jul 2016 09:01:01 +0000 (11:01 +0200)
commit6aa9399b93eea6da2a1a6aa618a42abde80aae28
tree8bfa72fd1344077d2cc3d570e6ddd9624e51a0d4
parent0f2b297697d2c5d0ab9ee71d51c2e47fb4508aba
dss: Do not shadow a global declaration.

num_complete_snapshots is a local variable in
compute_next_snapshot_time(), but also the name of a public function
declared in snap.h, causing a warning on some (old) gcc versions.

This patch avoids the ambiguity and thus the warning by renaming the
variable. It was unusually long anyway.
dss.c