From: Andre Noll Date: Fri, 17 Jun 2016 08:17:28 +0000 (+0200) Subject: dss: Do not shadow a global declaration. X-Git-Tag: v0.1.7~12^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=6aa9399b93eea6da2a1a6aa618a42abde80aae28;hp=6aa9399b93eea6da2a1a6aa618a42abde80aae28;p=dss.git 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. ---