mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Catch unitialized value valgrind error. Probably has no effect,
but fixed to shut up valgrind.
This commit is contained in:
		| @@ -121,6 +121,7 @@ DstValue dst_wrap_boolean(int x) { | ||||
| DstValue dst_wrap_##NAME(TYPE x) {\ | ||||
|     DstValue y;\ | ||||
|     y.type = DTYPE;\ | ||||
|     y.as.u64 = 0; /* zero other bits in case of 32 bit integer */ \ | ||||
|     y.as.UM = x;\ | ||||
|     return y;\ | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose