Gerald Pfeifer gerald@pfeifer.com writes:
So, I admit I don't really know this code, but looking at it (triggered by a warning issued by GCC development versions), I noticed that this variable passed by reference is not initialized here.
It's initialized when we return a type, and it doesn't need to be initialized on NULL return. The code is correct, but you could probably set the variable to NULL in the caller to silence the warning.