Merge pull request #526 from Pan7/fixAddWarn

Fix warning variable add is used uninitialized
This commit is contained in:
Timothee "TTimo" Besset 2017-07-11 10:35:16 +02:00 committed by GitHub
commit 578fd09625

View file

@ -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 */