We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2854 - [PATCH] Double definition + unused var
Summary: [PATCH] Double definition + unused var
Status: RESOLVED FIXED
Alias: None
Product: SDL_ttf
Classification: Unclassified
Component: misc (show other bugs)
Version: unspecified
Hardware: x86_64 All
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-24 22:23 UTC by Jean-Baptiste Noblot
Modified: 2017-09-10 06:13 UTC (History)
0 users

See Also:


Attachments
Patch for this "bug" (323 bytes, patch)
2015-01-24 22:23 UTC, Jean-Baptiste Noblot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Noblot 2015-01-24 22:23:52 UTC
Created attachment 2002 [details]
Patch for this "bug"

They have double definition of line var (line 1894 and 1912) of SDL_ttf.c
Moreover definition line 1912 is useless because we don't use this var in this scope.


so I just delete the line 1912
Comment 1 Sam Lantinga 2017-09-10 06:13:39 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL_ttf/rev/1a43a0b6d1cc