Having the preprocessor rename a variable called 'index' to one called 'strchr' is not the source of any bugs (in execution; it can cause pain when trying to ask a debugger to display the value and then be told no such thing exists). Change the name to 'indx' to avoid any confusion. If we switch to strchr() we should still avoid using 'index' as a variable name.
18 KiB
18 KiB