diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-18 18:15:51 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-08-18 18:15:51 +0400 |
commit | a2541508ac9918ce614b87a88f25993788b3ce3b (patch) | |
tree | b8514bdc58dd9d7e500fcfc3c8d75db0170058e8 /source/blender | |
parent | 2fd11a6617b84dbe5cae1a2c3f9145830b2bbfd4 (diff) |
Fix a few compiler warnings reported by clang.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/BLI_ghash.c | 4 | ||||
-rw-r--r-- | source/blender/bmesh/tools/bmesh_edgenet.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/BLI_ghash.c b/source/blender/blenlib/intern/BLI_ghash.c index 8221393d4d5..03f5d60079b 100644 --- a/source/blender/blenlib/intern/BLI_ghash.c +++ b/source/blender/blenlib/intern/BLI_ghash.c @@ -69,7 +69,7 @@ typedef struct Entry { void *key, *val; } Entry; -typedef struct GHash { +struct GHash { GHashHashFP hashfp; GHashCmpFP cmpfp; @@ -78,7 +78,7 @@ typedef struct GHash { unsigned int nbuckets; unsigned int nentries; unsigned short cursize, flag; -} GHash; +}; /* -------------------------------------------------------------------- */ diff --git a/source/blender/bmesh/tools/bmesh_edgenet.c b/source/blender/bmesh/tools/bmesh_edgenet.c index ed5d47e9391..18efb9acd78 100644 --- a/source/blender/bmesh/tools/bmesh_edgenet.c +++ b/source/blender/bmesh/tools/bmesh_edgenet.c @@ -117,7 +117,7 @@ static unsigned int bm_edgenet_path_from_pass( v_ls_tot += 1; v = vn->prev; vn = &vnet_info[BM_elem_index_get(v)]; - } while ((vn->pass == pass)); + } while (vn->pass == pass); return v_ls_tot; } @@ -145,7 +145,7 @@ static bool bm_edgenet_path_check_overlap( v_ls_tot += 1; v = vn->prev; vn = &vnet_info[BM_elem_index_get(v)]; - } while ((vn->pass == pass)); + } while (vn->pass == pass); } if (v_ls_tot) { |