[Bf-blender-cvs] [5cf993f951b] master: Cleanup: Fix compile warning

Aaron Carlisle noreply at git.blender.org
Sun Dec 26 21:08:45 CET 2021


Commit: 5cf993f951bc87d006279f7e33b210a4341fca1b
Author: Aaron Carlisle
Date:   Sun Dec 26 14:56:58 2021 -0500
Branches: master
https://developer.blender.org/rB5cf993f951bc87d006279f7e33b210a4341fca1b

Cleanup: Fix compile warning

Own mistake in rB67525b88d2e

===================================================================

M	source/blender/blenkernel/BKE_screen.h

===================================================================

diff --git a/source/blender/blenkernel/BKE_screen.h b/source/blender/blenkernel/BKE_screen.h
index 9e26840b209..db4c66959c5 100644
--- a/source/blender/blenkernel/BKE_screen.h
+++ b/source/blender/blenkernel/BKE_screen.h
@@ -467,7 +467,7 @@ struct ARegion *BKE_area_find_region_type(const struct ScrArea *area, int type);
 struct ARegion *BKE_area_find_region_active_win(struct ScrArea *area);
 struct ARegion *BKE_area_find_region_xy(struct ScrArea *area,
                                         const int regiontype,
-                                        const int xy[2]) ATTR_NONNULL(1, 3);
+                                        const int xy[2]) ATTR_NONNULL(3);
 /**
  * \note This is only for screen level regions (typically menus/popups).
  */



More information about the Bf-blender-cvs mailing list