From 2a96e8be39876dc42201dd640bbf57c8396bd542 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 20 Apr 2020 12:08:29 +1000 Subject: Cleanup: redundant parenthesis, NULL checks --- intern/dualcon/dualcon.h | 2 +- intern/dualcon/intern/octree.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'intern/dualcon') diff --git a/intern/dualcon/dualcon.h b/intern/dualcon/dualcon.h index e9bff72a1ce..60cec101545 100644 --- a/intern/dualcon/dualcon.h +++ b/intern/dualcon/dualcon.h @@ -29,7 +29,7 @@ typedef float (*DualConCo)[3]; typedef unsigned int (*DualConTri)[3]; -typedef unsigned int(*DualConLoop); +typedef unsigned int *DualConLoop; typedef struct DualConInput { DualConLoop mloop; diff --git a/intern/dualcon/intern/octree.cpp b/intern/dualcon/intern/octree.cpp index 70b3b8bb457..c9d5639cb5d 100644 --- a/intern/dualcon/intern/octree.cpp +++ b/intern/dualcon/intern/octree.cpp @@ -480,7 +480,7 @@ void Octree::trace() if (chdpath != NULL) { dc_printf("there are incomplete rings.\n"); printPaths(chdpath); - }; + } } Node *Octree::trace(Node *newnode, int *st, int len, int depth, PathList *&paths) -- cgit v1.2.3