Closed cry0this closed 6 years ago
Strange. GCC compiles for me without errors. What compiler are you using?
I see why you would move it up though... I'm a little surprised it compiled on my machine.
I also had this error, this patch fixes it. This is on OS X.
Tried it on a few different machines with GCC, no change in behavior, no compilation errors.
But yeah, the variable ceases to exist after the if-statement. Compiling this patch works properly. I'll investigate this a little more as to why GCC is compiling without errors.
Oh man and that error was my mistake too, fml.
Last moving of tmpfd is leading to compilation error because exiting of current scope. I moved declaration of tmpfd up to previous string.