[Bf-blender-cvs] [9f8acce3ab9] master: Cleanup: name parameters instead of commenting them.
Ankit Meel
noreply at git.blender.org
Wed Oct 28 17:19:48 CET 2020
Commit: 9f8acce3ab9988113dd8bdbc8d757e453897cfe9
Author: Ankit Meel
Date: Wed Oct 28 21:48:14 2020 +0530
Branches: master
https://developer.blender.org/rB9f8acce3ab9988113dd8bdbc8d757e453897cfe9
Cleanup: name parameters instead of commenting them.
It generates warning C4138 in MSVC:
> '*/' found outside of comment
Old code added in {rBafd13710b897}
===================================================================
M source/blender/blenlib/intern/sort.c
===================================================================
diff --git a/source/blender/blenlib/intern/sort.c b/source/blender/blenlib/intern/sort.c
index e65be760a2c..6a13c0aa6f0 100644
--- a/source/blender/blenlib/intern/sort.c
+++ b/source/blender/blenlib/intern/sort.c
@@ -45,8 +45,8 @@
*
* \note modified to use glibc arg order for callbacks.
*/
-BLI_INLINE char *med3(char */*a*/, char */*b*/, char */*c*/, BLI_sort_cmp_t /*cmp*/, void */*thunk*/);
-BLI_INLINE void swapfunc(char */*a*/, char */*b*/, int /*n*/, int /*swaptype*/);
+BLI_INLINE char *med3(char *a, char *b, char *c, BLI_sort_cmp_t cmp, void *thunk);
+BLI_INLINE void swapfunc(char *a, char *b, int n, int swaptype);
#define min(a, b) (a) < (b) ? (a) : (b)
#define swapcode(TYPE, parmi, parmj, n) \
More information about the Bf-blender-cvs
mailing list