diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-09 18:32:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-09 18:32:55 +0400 |
commit | 5ba0c2c04906dd45db42380fa56c0044222194ae (patch) | |
tree | 7fcc8832f2f10339f982e4217b5eedd94ffc34f6 /source/blender/editors/object/object_lattice.c | |
parent | 5776d7ff9c24edf516616490377678de5ce3d0a1 (diff) |
tag unused arguments, quiet some warnings
Diffstat (limited to 'source/blender/editors/object/object_lattice.c')
-rw-r--r-- | source/blender/editors/object/object_lattice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/object/object_lattice.c b/source/blender/editors/object/object_lattice.c index ff1de99aaf5..5921144436c 100644 --- a/source/blender/editors/object/object_lattice.c +++ b/source/blender/editors/object/object_lattice.c @@ -367,7 +367,7 @@ typedef struct UndoLattice { int pntsu, pntsv, pntsw; } UndoLattice; -static void undoLatt_to_editLatt(void *data, void *edata, void *obdata) +static void undoLatt_to_editLatt(void *data, void *edata, void *UNUSED(obdata)) { UndoLattice *ult= (UndoLattice*)data; EditLatt *editlatt= (EditLatt *)edata; @@ -376,7 +376,7 @@ static void undoLatt_to_editLatt(void *data, void *edata, void *obdata) memcpy(editlatt->latt->def, ult->def, a*sizeof(BPoint)); } -static void *editLatt_to_undoLatt(void *edata, void *obdata) +static void *editLatt_to_undoLatt(void *edata, void *UNUSED(obdata)) { UndoLattice *ult= MEM_callocN(sizeof(UndoLattice), "UndoLattice"); EditLatt *editlatt= (EditLatt *)edata; |