Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2020-10-28 19:18:14 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-10-28 19:18:33 +0300
commit9f8acce3ab9988113dd8bdbc8d757e453897cfe9 (patch)
tree7a16b0793507e3c5eaf5692c5bd82edd43e1753c /source
parent683dc71c3c2db491ef79262bdaef495dfe01cf04 (diff)
Cleanup: name parameters instead of commenting them.
It generates warning C4138 in MSVC: > '*/' found outside of comment Old code added in {rBafd13710b897}
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/sort.c4
1 files changed, 2 insertions, 2 deletions
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) \