mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-10 03:51:18 +00:00
Merge pull request #526 from Pan7/fixAddWarn
Fix warning variable add is used uninitialized
This commit is contained in:
commit
578fd09625
1 changed files with 5 additions and 0 deletions
|
@ -973,6 +973,11 @@ int LightContributionToSample( trace_t *trace ){
|
|||
|
||||
/* return to sender */
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* unknown light type */
|
||||
else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/* ydnar: changed to a variable number */
|
||||
|
|
Loading…
Reference in a new issue