Tween: Fix undefined behavior found by static code analyzer.
Tween: Fix undefined behavior found by static code analyzer.

Adresses the issue mentioned in https://software.intel.com/en-us/articles/the-ultimate-question-of-programming-refactoring-and-everything

guilhermefelipecgs/godot,NateWardawg/godot,ex/godot,Shockblast/godot,Paulloz/godot,Marqin/godot,groud/godot,RebelliousX/Go_Dot,ficoos/godot,Brickcaster/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,ex/godot,firefly2442/godot,mcanders/godot,Faless/godot,tomreyn/godot,firefly2442/godot,Faless/godot,morrow1nd/godot,n-pigeon/godot,sanikoyes/godot,MrMaidx/godot,ex/godot,Brickcaster/godot,ZuBsPaCe/godot,okamstudio/godot,exabon/godot,RebelliousX/Go_Dot,RebelliousX/Go_Dot,FateAce/godot,zicklag/godot,Zylann/godot,pkowal1982/godot,vnen/godot,zicklag/godot,exabon/godot,ex/godot,BastiaanOlij/godot,pkowal1982/godot,morrow1nd/godot,pkowal1982/godot,Faless/godot,MarianoGnu/godot,Zylann/godot,Max-Might/godot,MarianoGnu/godot,MarianoGnu/godot,vnen/godot,jejung/godot,ageazrael/godot,honix/godot,akien-mga/godot,jejung/godot,akien-mga/godot,josempans/godot,NateWardawg/godot,Paulloz/godot,sanikoyes/godot,MrMaidx/godot,DmitriySalnikov/godot,Paulloz/godot,vkbsb/godot,zicklag/godot,Shockblast/godot,DmitriySalnikov/godot,vkbsb/godot,guilhermefelipecgs/godot,Zylann/godot,guilhermefelipecgs/godot,n-pigeon/godot,Valentactive/godot,Valentactive/godot,n-pigeon/godot,ZuBsPaCe/godot,groud/godot,tomreyn/godot,RandomShaper/godot,exabon/godot,Paulloz/godot,mcanders/godot,ZuBsPaCe/godot,RebelliousX/Go_Dot,tomreyn/godot,jejung/godot,sanikoyes/godot,pkowal1982/godot,MarianoGnu/godot,n-pigeon/godot,sanikoyes/godot,guilhermefelipecgs/godot,exabon/godot,godotengine/godot,RandomShaper/godot,BastiaanOlij/godot,vnen/godot,honix/godot,godotengine/godot,firefly2442/godot,Zylann/godot,honix/godot,NateWardawg/godot,n-pigeon/godot,godotengine/godot,Zylann/godot,RandomShaper/godot,Brickcaster/godot,Valentactive/godot,Marqin/godot,Max-Might/godot,FateAce/godot,akien-mga/godot,Valentactive/godot,firefly2442/godot,ficoos/godot,FateAce/godot,DmitriySalnikov/godot,exabon/godot,okamstudio/godot,ZuBsPaCe/godot,sanikoyes/godot,sanikoyes/godot,DmitriySalnikov/godot,Zylann/godot,Shockblast/godot,pkowal1982/godot,guilhermefelipecgs/godot,ex/godot,Max-Might/godot,okamstudio/godot,ageazrael/godot,MarianoGnu/godot,Zylann/godot,NateWardawg/godot,ZuBsPaCe/godot,honix/godot,ZuBsPaCe/godot,ageazrael/godot,Zylann/godot,Marqin/godot,BastiaanOlij/godot,vkbsb/godot,godotengine/godot,NateWardawg/godot,akien-mga/godot,ex/godot,godotengine/godot,vnen/godot,MrMaidx/godot,josempans/godot,mcanders/godot,ageazrael/godot,BastiaanOlij/godot,groud/godot,firefly2442/godot,Valentactive/godot,FateAce/godot,Paulloz/godot,mcanders/godot,godotengine/godot,NateWardawg/godot,mcanders/godot,FateAce/godot,ageazrael/godot,MrMaidx/godot,godotengine/godot,okamstudio/godot,MarianoGnu/godot,NateWardawg/godot,groud/godot,pkowal1982/godot,okamstudio/godot,NateWardawg/godot,n-pigeon/godot,BastiaanOlij/godot,BastiaanOlij/godot,DmitriySalnikov/godot,ficoos/godot,DmitriySalnikov/godot,Paulloz/godot,Shockblast/godot,morrow1nd/godot,vnen/godot,Marqin/godot,vkbsb/godot,vkbsb/godot,zicklag/godot,Valentactive/godot,josempans/godot,ZuBsPaCe/godot,firefly2442/godot,Max-Might/godot,josempans/godot,RebelliousX/Go_Dot,NateWardawg/godot,josempans/godot,RandomShaper/godot,vkbsb/godot,ex/godot,RandomShaper/godot,Faless/godot,ficoos/godot,morrow1nd/godot,okamstudio/godot,Shockblast/godot,jejung/godot,exabon/godot,josempans/godot,zicklag/godot,firefly2442/godot,Brickcaster/godot,MrMaidx/godot,mcanders/godot,zicklag/godot,Faless/godot,Faless/godot,ageazrael/godot,sanikoyes/godot,firefly2442/godot,MrMaidx/godot,groud/godot,Faless/godot,pkowal1982/godot,Valentactive/godot,Brickcaster/godot,vnen/godot,RandomShaper/godot,vnen/godot,MarianoGnu/godot,ficoos/godot,honix/godot,Max-Might/godot,Shockblast/godot,ex/godot,groud/godot,DmitriySalnikov/godot,josempans/godot,vkbsb/godot,honix/godot,RebelliousX/Go_Dot,akien-mga/godot,vnen/godot,morrow1nd/godot,vkbsb/godot,morrow1nd/godot,Brickcaster/godot,tomreyn/godot,BastiaanOlij/godot,Faless/godot,Marqin/godot,Brickcaster/godot,jejung/godot,okamstudio/godot,akien-mga/godot,sanikoyes/godot,Shockblast/godot,ZuBsPaCe/godot,akien-mga/godot,Max-Might/godot,okamstudio/godot,josempans/godot,FateAce/godot,okamstudio/godot,n-pigeon/godot,MarianoGnu/godot,okamstudio/godot,godotengine/godot,RandomShaper/godot,Valentactive/godot,akien-mga/godot,pkowal1982/godot,Shockblast/godot,Marqin/godot,jejung/godot,BastiaanOlij/godot,ageazrael/godot,tomreyn/godot,ficoos/godot,Paulloz/godot