mechanicmarx / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Uninitialized variables in gkWindow::createWindow #147

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What is the expected output? What do you see instead?
winsizex and winsizey variables are potentially uninitialized, they should be 
initialized.

What version of the product are you using? On what operating system?
trunk Linux/WinNt

Please provide any additional information below.

This will silence the warnings I've seen, perhaps a test to ensure they are not 
0 before returning from the functions should be done, please comment.

Original issue reported on code.google.com by bsd...@gmail.com on 11 Mar 2011 at 5:43

Attachments:

GoogleCodeExporter commented 8 years ago
I have some more patches for uninitialized variables, should I add them into 
this report or create a new one?

Original comment by bsd...@gmail.com on 11 Mar 2011 at 5:50

GoogleCodeExporter commented 8 years ago
Patch applied in commit 857

Original comment by xavier.thomas.1980@gmail.com on 11 Mar 2011 at 8:57