Hi,

Just a heads up that Visual C++ flag the missing return value as a compiler error.

I guess returning 0 should be fine but not sure without knowing the usage context of set_threads

static int
set_threads (int argc, const char *argv[])
{
    ASSERT (argc == 1);
    OIIO_NAMESPACE::attribute ("threads", atoi(argv[0]));
}

Regards

--
Nicholas Yue
Graphics - RenderMan, Houdini, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
http://au.linkedin.com/in/nicholasyue

_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to