Commit a80b19fd authored by bonnell's avatar bonnell

warning-removal cleanup for auto-generated python files

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23670 18c085ea-50e0-402c-830e-de6fd14e8384
parent 76fca7b4
......@@ -165,7 +165,6 @@ Definition:
static void
PyQueryOverTimeAttributes_CallLogRoutine(Subject *subj, void *data)
{
QueryOverTimeAttributes *atts = (QueryOverTimeAttributes *)subj; (void)atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -72,3 +72,11 @@ SaveSubWindowsAttributes::GetAttsForWindow(int win)
EXCEPTION1(VisItException, "Window ID is out of range");
}
Target: xml2python
Code: PySaveSubWindowsAttributes_ToString
Prefix:
// To squelch a warning
(void)tmpStr;
Postfix:
......@@ -16,8 +16,8 @@ VISIT_OPTION_DEFAULT(VISIT_SLIVR TRUE)
##
VISIT_OPTION_DEFAULT(VISIT_C_COMPILER gcc TYPE FILEPATH)
VISIT_OPTION_DEFAULT(VISIT_CXX_COMPILER g++ TYPE FILEPATH)
VISIT_OPTION_DEFAULT(VISIT_C_FLAGS " -m64 -fPIC -fvisibility=hidden" TYPE STRING)
VISIT_OPTION_DEFAULT(VISIT_CXX_FLAGS " -m64 -fPIC -fvisibility=hidden" TYPE STRING)
VISIT_OPTION_DEFAULT(VISIT_C_FLAGS " -m64 -fPIC -fvisibility=hidden -Wall" TYPE STRING)
VISIT_OPTION_DEFAULT(VISIT_CXX_FLAGS " -m64 -fPIC -fvisibility=hidden -Wall" TYPE STRING)
##
## VisIt Thread Option
......
......@@ -73,8 +73,8 @@ static PyObject *NewAMRStitchCellAttributes(int);
std::string
PyAMRStitchCellAttributes_ToString(const AMRStitchCellAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *CreateCellsOfType_names = "DualGridAndStitchCells, DualGrid, StitchCells";
switch (atts->GetCreateCellsOfType())
......@@ -581,7 +581,6 @@ PyAMRStitchCellAttributes_GetLogString()
static void
PyAMRStitchCellAttributes_CallLogRoutine(Subject *subj, void *data)
{
AMRStitchCellAttributes *atts = (AMRStitchCellAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewBoundaryOpAttributes(int);
std::string
PyBoundaryOpAttributes_ToString(const BoundaryOpAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%ssmoothingLevel = %d\n", prefix, atts->GetSmoothingLevel());
str += tmpStr;
......@@ -326,7 +326,6 @@ PyBoundaryOpAttributes_GetLogString()
static void
PyBoundaryOpAttributes_CallLogRoutine(Subject *subj, void *data)
{
BoundaryOpAttributes *atts = (BoundaryOpAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewBoxAttributes(int);
std::string
PyBoxAttributes_ToString(const BoxAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *amount_names = "Some, All";
switch (atts->GetAmount())
......@@ -580,7 +580,6 @@ PyBoxAttributes_GetLogString()
static void
PyBoxAttributes_CallLogRoutine(Subject *subj, void *data)
{
BoxAttributes *atts = (BoxAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewCartographicProjectionAttributes(int);
std::string
PyCartographicProjectionAttributes_ToString(const CartographicProjectionAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *projectionID_names = "aitoff, eck4, eqdc, hammer, laea, "
"lcc, merc, mill, moll, "
......@@ -443,7 +443,6 @@ PyCartographicProjectionAttributes_GetLogString()
static void
PyCartographicProjectionAttributes_CallLogRoutine(Subject *subj, void *data)
{
CartographicProjectionAttributes *atts = (CartographicProjectionAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewChannelCommAttributes(int);
std::string
PyChannelCommAttributes_ToString(const ChannelCommAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%snumInX = %d\n", prefix, atts->GetNumInX());
str += tmpStr;
......@@ -390,7 +390,6 @@ PyChannelCommAttributes_GetLogString()
static void
PyChannelCommAttributes_CallLogRoutine(Subject *subj, void *data)
{
ChannelCommAttributes *atts = (ChannelCommAttributes *)subj;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewClipAttributes(int);
std::string
PyClipAttributes_ToString(const ClipAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *quality_names = "Fast, Accurate";
switch (atts->GetQuality())
......@@ -1222,7 +1222,6 @@ PyClipAttributes_GetLogString()
static void
PyClipAttributes_CallLogRoutine(Subject *subj, void *data)
{
ClipAttributes *atts = (ClipAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewConeAttributes(int);
std::string
PyConeAttributes_ToString(const ConeAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%sangle = %g\n", prefix, atts->GetAngle());
str += tmpStr;
......@@ -686,7 +686,6 @@ PyConeAttributes_GetLogString()
static void
PyConeAttributes_CallLogRoutine(Subject *subj, void *data)
{
ConeAttributes *atts = (ConeAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewConnCompReduceAttributes(int);
std::string
PyConnCompReduceAttributes_ToString(const ConnCompReduceAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%starget = %g\n", prefix, atts->GetTarget());
str += tmpStr;
......@@ -326,7 +326,6 @@ PyConnCompReduceAttributes_GetLogString()
static void
PyConnCompReduceAttributes_CallLogRoutine(Subject *subj, void *data)
{
ConnCompReduceAttributes *atts = (ConnCompReduceAttributes *)subj;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewConnectedComponentsAttributes(int);
std::string
PyConnectedComponentsAttributes_ToString(const ConnectedComponentsAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
if(atts->GetEnableGhostNeighborsOptimization())
SNPRINTF(tmpStr, 1000, "%sEnableGhostNeighborsOptimization = 1\n", prefix);
......@@ -329,7 +329,6 @@ PyConnectedComponentsAttributes_GetLogString()
static void
PyConnectedComponentsAttributes_CallLogRoutine(Subject *subj, void *data)
{
ConnectedComponentsAttributes *atts = (ConnectedComponentsAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewContextAttributes(int);
std::string
PyContextAttributes_ToString(const ContextAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%soffset = %g\n", prefix, atts->GetOffset());
str += tmpStr;
......@@ -518,7 +518,6 @@ PyContextAttributes_GetLogString()
static void
PyContextAttributes_CallLogRoutine(Subject *subj, void *data)
{
ContextAttributes *atts = (ContextAttributes *)subj;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewCoordSwapAttributes(int);
std::string
PyCoordSwapAttributes_ToString(const CoordSwapAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *newCoord1_names = "Coord1, Coord2, Coord3";
switch (atts->GetNewCoord1())
......@@ -489,7 +489,6 @@ PyCoordSwapAttributes_GetLogString()
static void
PyCoordSwapAttributes_CallLogRoutine(Subject *subj, void *data)
{
CoordSwapAttributes *atts = (CoordSwapAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewCracksClipperAttributes(int);
std::string
PyCracksClipperAttributes_ToString(const CracksClipperAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%scrack1Var = \"%s\"\n", prefix, atts->GetCrack1Var().c_str());
str += tmpStr;
......@@ -559,7 +559,6 @@ PyCracksClipperAttributes_GetLogString()
static void
PyCracksClipperAttributes_CallLogRoutine(Subject *subj, void *data)
{
CracksClipperAttributes *atts = (CracksClipperAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewCreateBondsAttributes(int);
std::string
PyCreateBondsAttributes_ToString(const CreateBondsAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%selementVariable = \"%s\"\n", prefix, atts->GetElementVariable().c_str());
str += tmpStr;
......@@ -1101,7 +1101,6 @@ PyCreateBondsAttributes_GetLogString()
static void
PyCreateBondsAttributes_CallLogRoutine(Subject *subj, void *data)
{
CreateBondsAttributes *atts = (CreateBondsAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewCylinderAttributes(int);
std::string
PyCylinderAttributes_ToString(const CylinderAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
{ const double *point1 = atts->GetPoint1();
SNPRINTF(tmpStr, 1000, "%spoint1 = (", prefix);
......@@ -513,7 +513,6 @@ PyCylinderAttributes_GetLogString()
static void
PyCylinderAttributes_CallLogRoutine(Subject *subj, void *data)
{
CylinderAttributes *atts = (CylinderAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDataBinningAttributes(int);
std::string
PyDataBinningAttributes_ToString(const DataBinningAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *numDimensions_names = "One, Two, Three";
switch (atts->GetNumDimensions())
......@@ -1382,7 +1382,6 @@ PyDataBinningAttributes_GetLogString()
static void
PyDataBinningAttributes_CallLogRoutine(Subject *subj, void *data)
{
DataBinningAttributes *atts = (DataBinningAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDecimateAttributes(int);
std::string
PyDecimateAttributes_ToString(const DecimateAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%starget = %g\n", prefix, atts->GetTarget());
str += tmpStr;
......@@ -326,7 +326,6 @@ PyDecimateAttributes_GetLogString()
static void
PyDecimateAttributes_CallLogRoutine(Subject *subj, void *data)
{
DecimateAttributes *atts = (DecimateAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDeferExpressionAttributes(int);
std::string
PyDeferExpressionAttributes_ToString(const DeferExpressionAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
{ const stringVector &exprs = atts->GetExprs();
SNPRINTF(tmpStr, 1000, "%sexprs = (", prefix);
......@@ -365,7 +365,6 @@ PyDeferExpressionAttributes_GetLogString()
static void
PyDeferExpressionAttributes_CallLogRoutine(Subject *subj, void *data)
{
DeferExpressionAttributes *atts = (DeferExpressionAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDeformSphereGlyphAttributes(int);
std::string
PyDeformSphereGlyphAttributes_ToString(const DeformSphereGlyphAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%svar = \"%s\"\n", prefix, atts->GetVar().c_str());
str += tmpStr;
......@@ -390,7 +390,6 @@ PyDeformSphereGlyphAttributes_GetLogString()
static void
PyDeformSphereGlyphAttributes_CallLogRoutine(Subject *subj, void *data)
{
DeformSphereGlyphAttributes *atts = (DeformSphereGlyphAttributes *)subj;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDelaunayAttributes(int);
std::string
PyDelaunayAttributes_ToString(const DelaunayAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *dimension_names = "Automatic, Triangulation, Tetrahedralization";
switch (atts->GetDimension())
......@@ -359,7 +359,6 @@ PyDelaunayAttributes_GetLogString()
static void
PyDelaunayAttributes_CallLogRoutine(Subject *subj, void *data)
{
DelaunayAttributes *atts = (DelaunayAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDisplaceAttributes(int);
std::string
PyDisplaceAttributes_ToString(const DisplaceAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%sfactor = %g\n", prefix, atts->GetFactor());
str += tmpStr;
......@@ -358,7 +358,6 @@ PyDisplaceAttributes_GetLogString()
static void
PyDisplaceAttributes_CallLogRoutine(Subject *subj, void *data)
{
DisplaceAttributes *atts = (DisplaceAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewDualMeshAttributes(int);
std::string
PyDualMeshAttributes_ToString(const DualMeshAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *mode_names = "Auto, NodesToZones, ZonesToNodes";
switch (atts->GetMode())
......@@ -359,7 +359,6 @@ PyDualMeshAttributes_GetLogString()
static void
PyDualMeshAttributes_CallLogRoutine(Subject *subj, void *data)
{
DualMeshAttributes *atts = (DualMeshAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewEdgeAttributes(int);
std::string
PyEdgeAttributes_ToString(const EdgeAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
if(atts->GetDummy())
SNPRINTF(tmpStr, 1000, "%sdummy = 1\n", prefix);
......@@ -329,7 +329,6 @@ PyEdgeAttributes_GetLogString()
static void
PyEdgeAttributes_CallLogRoutine(Subject *subj, void *data)
{
EdgeAttributes *atts = (EdgeAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewElevateAttributes(int);
std::string
PyElevateAttributes_ToString(const ElevateAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
if(atts->GetUseXYLimits())
SNPRINTF(tmpStr, 1000, "%suseXYLimits = 1\n", prefix);
......@@ -686,7 +686,6 @@ PyElevateAttributes_GetLogString()
static void
PyElevateAttributes_CallLogRoutine(Subject *subj, void *data)
{
ElevateAttributes *atts = (ElevateAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewEllipsoidSliceAttributes(int);
std::string
PyEllipsoidSliceAttributes_ToString(const EllipsoidSliceAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
{ const double *origin = atts->GetOrigin();
SNPRINTF(tmpStr, 1000, "%sorigin = (", prefix);
......@@ -522,7 +522,6 @@ PyEllipsoidSliceAttributes_GetLogString()
static void
PyEllipsoidSliceAttributes_CallLogRoutine(Subject *subj, void *data)
{
EllipsoidSliceAttributes *atts = (EllipsoidSliceAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewExternalSurfaceAttributes(int);
std::string
PyExternalSurfaceAttributes_ToString(const ExternalSurfaceAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
if(atts->GetRemoveGhosts())
SNPRINTF(tmpStr, 1000, "%sremoveGhosts = 1\n", prefix);
......@@ -364,7 +364,6 @@ PyExternalSurfaceAttributes_GetLogString()
static void
PyExternalSurfaceAttributes_CallLogRoutine(Subject *subj, void *data)
{
ExternalSurfaceAttributes *atts = (ExternalSurfaceAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewExtractPointFunction2DAttributes(int);
std::string
PyExtractPointFunction2DAttributes_ToString(const ExtractPointFunction2DAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%sI = %d\n", prefix, atts->GetI());
str += tmpStr;
......@@ -358,7 +358,6 @@ PyExtractPointFunction2DAttributes_GetLogString()
static void
PyExtractPointFunction2DAttributes_CallLogRoutine(Subject *subj, void *data)
{
ExtractPointFunction2DAttributes *atts = (ExtractPointFunction2DAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewExtremeValueAnalysisAttributes(int);
std::string
PyExtremeValueAnalysisAttributes_ToString(const ExtremeValueAnalysisAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%sdataYearBegin = %d\n", prefix, atts->GetDataYearBegin());
str += tmpStr;
......@@ -1330,7 +1330,6 @@ PyExtremeValueAnalysisAttributes_GetLogString()
static void
PyExtremeValueAnalysisAttributes_CallLogRoutine(Subject *subj, void *data)
{
ExtremeValueAnalysisAttributes *atts = (ExtremeValueAnalysisAttributes *)subj;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewExtrudeAttributes(int);
std::string
PyExtrudeAttributes_ToString(const ExtrudeAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
{ const double *axis = atts->GetAxis();
SNPRINTF(tmpStr, 1000, "%saxis = (", prefix);
......@@ -469,7 +469,6 @@ PyExtrudeAttributes_GetLogString()
static void
PyExtrudeAttributes_CallLogRoutine(Subject *subj, void *data)
{
ExtrudeAttributes *atts = (ExtrudeAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewFFTAttributes(int);
std::string
PyFFTAttributes_ToString(const FFTAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
SNPRINTF(tmpStr, 1000, "%sdummy = %d\n", prefix, atts->GetDummy());
str += tmpStr;
......@@ -326,7 +326,6 @@ PyFFTAttributes_GetLogString()
static void
PyFFTAttributes_CallLogRoutine(Subject *subj, void *data)
{
FFTAttributes *atts = (FFTAttributes *)subj; (void) atts;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewFTLEAttributes(int);
std::string
PyFTLEAttributes_ToString(const FTLEAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
const char *sourceType_names = "NativeMesh, RegularGrid";
switch (atts->GetSourceType())
......@@ -2094,7 +2094,6 @@ PyFTLEAttributes_GetLogString()
static void
PyFTLEAttributes_CallLogRoutine(Subject *subj, void *data)
{
FTLEAttributes *atts = (FTLEAttributes *)subj;
typedef void (*logCallback)(const std::string &);
logCallback cb = (logCallback)data;
......
......@@ -73,8 +73,8 @@ static PyObject *NewFiveFoldTetSubdivisionAttributes(int);
std::string
PyFiveFoldTetSubdivisionAttributes_ToString(const FiveFoldTetSubdivisionAttributes *atts, const char *prefix)
{
std::string str;
char tmpStr[1000];
std::string str;
char tmpStr[1000];
if(atts->GetOddParityHasSixNeighborhood())
SNPRINTF(tmpStr, 1000, "%soddParityHasSixNeighborhood = 1\n", prefix);
......@@ -662,7 +662,6 @@ PyFiveFoldTetSubdivisionAttributes_GetLogString()
static void
PyFiveFoldTetSubdivisionAttributes_CallLogRoutine(Subject *subj, void *data)
{