[Pkg-wmaker-commits] [wmcoincoin] 50/87: Fix -Wmaybe-uninitialized compiler warnings.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Fri Aug 28 17:27:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmcoincoin.
commit 55f80bc2326a2100e507d2073702791896b7c6aa
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Tue Nov 11 12:13:53 2014 -0600
Fix -Wmaybe-uninitialized compiler warnings.
---
src/balltrap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/balltrap.c b/src/balltrap.c
index 716d4e3..50e6988 100644
--- a/src/balltrap.c
+++ b/src/balltrap.c
@@ -225,7 +225,7 @@ void balltrap_animate(Dock *dock) {
d_next = d->next;
d->age++;
if (!duck_is_dead(d)) {
- float angle = 0, speed = 3 /* vitess mini */, vx, vy;
+ float angle = 0, speed = 3 /* vitess mini */, vx = 0, vy = 0;
int k;
for (k=0; k < DUCK_NCX; ++k) {
angle += d->angle_ampli[k]*sin(d->angle_phase[k]+t*k);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcoincoin.git
More information about the Pkg-wmaker-commits
mailing list