# Unused variables

**URL:** <https://discourse.libsdl.org/t/unused-variables/20028>\
**Category:** SDL Development\
**Created:** [October 6, 2013, 1:23pm UTC](https://discourse.libsdl.org/t/unused-variables/20028 "2013-10-06T13:23:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_Joseph\_Carter](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/t_joseph_carter/32/2525_2.png) [@T\_Joseph\_Carter](https://discourse.libsdl.org/u/T_Joseph_Carter)\
**Post date:** [October 6, 2013, 1:23pm UTC](https://discourse.libsdl.org/t/unused-variables/20028/1 "2013-10-06T13:23:59Z")

</div>

And while I’m being OCD, I removed a couple of unused variables I  
happened to notice. I noticed a few other warnings fly by at high  
speed related to deprecated stuff on OS X. I’m sure I could figure  
out what the “correct” replacement for, eg, UpdateSystemActivity  
might be, but I couldn’t really guarantee that I didn’t break  
something that currently works like maybe compatibility with a 10  
year old PowerBook or something in the process. 😉

Another trivial patch.

Joseph

-------------- next part --------------  
diff -r 25355ecf10aa src/video/SDL\_blit\_A.c  
— a/src/video/SDL\_blit\_A.c Sat Oct 05 21:15:55 2013 -0700  
+++ b/src/video/SDL\_blit\_A.c Sun Oct 06 06:14:11 2013 -0700  
@@ -334,7 +334,6 @@  
Uint32 \*dstp = (Uint32 \*) info-\>dst;  
int dstskip = info-\>dst\_skip \>\> 2;  
SDL\_PixelFormat \*sf = info-\>src\_fmt;

- Uint32 chanmask = sf-\>Rmask | sf-\>Gmask | sf-\>Bmask;  
Uint32 amask = sf-\>Amask;  
Uint32 ashift = sf-\>Ashift;  
Uint64 multmask, multmask2;  
@@ -522,7 +521,6 @@  
Uint32 \*dstp = (Uint32 \*) info-\>dst;  
int dstskip = info-\>dst\_skip \>\> 2;  
SDL\_PixelFormat \*sf = info-\>src\_fmt;
- Uint32 chanmask = sf-\>Rmask | sf-\>Gmask | sf-\>Bmask;  
Uint32 amask = sf-\>Amask;  
Uint32 ashift = sf-\>Ashift;  
Uint64 multmask, multmask2;
