tree 5b46fd5b8c94

parent 971b278f0756
author Edward Rudd <urkle@outoforder.cc> 1358022907 18000
committer Edward Rudd <urkle@outoforder.cc> 1358022907 18000
revision 6819
branch default

Remove some redundant assigns
This commit is contained in:
Sam Lantinga 2013-02-11 21:47:13 -08:00
parent c54822142d
commit a1afe6c175
4 changed files with 1 additions and 4 deletions

View file

@ -125,7 +125,6 @@ SDL_AddTouch(const SDL_Touch * touch, char *name)
SDL_memcpy(SDL_touchPads[index], touch, sizeof(*touch));
/* we're setting the touch properties */
length = 0;
length = SDL_strlen(name);
SDL_touchPads[index]->focus = 0;
SDL_touchPads[index]->name = SDL_malloc((length + 2) * sizeof(char));