diff options
author | Tormod Volden <debian.tormod@gmail.com> | 2011-01-23 23:45:49 +0100 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2011-01-25 13:27:49 -0500 |
commit | 6b22be096bed59a853e5e1cdd25d8943cce30d4f (patch) | |
tree | 19fd88d44ec0661f42469e5129b7039a68b177fc | |
parent | 9872b5f7ce7a7b07ff68bd2c389c56a3cb1b4ed6 (diff) |
savage: Fix initialization typo in SAVAGEDRIMoveBuffers
This was warned about when building with -O2, and seems
to be a copy-and-paste glitch.
savage_dri.c: In function ‘SAVAGEDRIMoveBuffers’:
savage_dri.c:1445: warning: ‘pptNew2’ may be used uninitialized in this function
-rw-r--r-- | src/savage_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/savage_dri.c b/src/savage_dri.c index 2c7a077..d43b8eb 100644 --- a/src/savage_dri.c +++ b/src/savage_dri.c @@ -1457,7 +1457,7 @@ SAVAGEDRIMoveBuffers(WindowPtr pParent, DDXPointRec ptOldOrg, pboxNew1 = 0; pptNew1 = 0; pboxNew2 = 0; - pboxNew2 = 0; + pptNew2 = 0; pptSrc = &ptOldOrg; dx = pParent->drawable.x - ptOldOrg.x; |