Remove ifdef with undefined pointer that made compile fail

Merged Claudio Cambra requested to merge work/fix_compile into master

This MR removes an ifdef with an undefined pointer that makes compilation fail

Merge request reports