diff --git a/source/blender/makesrna/intern/rna_xr.c b/source/blender/makesrna/intern/rna_xr.c index 6f43afe23fe..a04b29b8815 100644 --- a/source/blender/makesrna/intern/rna_xr.c +++ b/source/blender/makesrna/intern/rna_xr.c @@ -705,6 +705,7 @@ static int rna_XrSessionSettings_icon_from_show_object_viewport_get(PointerRNA * # endif ); # else + UNUSED_VARS(ptr); return ICON_NONE; # endif }