Exactly that. If you initialize a variable to hold the divisor in some calculation because you intend to check whether it's zero, but never actually do that check, and some time later run into the weird edge case where it is zero, then your program crashes instead of handling the error nicely.
-18
u/smcarre Sep 23 '19
No it's not. It will just mean the app will consume some extra bytes of memory. Maybe some KB, depends on the language and type.