Closed quantifish closed 9 years ago
I fixed this by removing the ternary operators in the function and replacing with if statements. I don't have anything against ternary operators (I really like them), but they are essentially if else statements that require the else. In this case there was nothing else to do after the if, so a NULL was popped in that spot. This results in nothing happening and all is fine in the code. However, my compiler kicks up a stink because the NULL is not being assigned to anything.
I get the following warning when compiling gmacs. Nothing bad but would be better to code this away.