Aha, thanks!  I'll commit a fix immediately.

        -- lg


On Feb 8, 2012, at 9:17 PM, Nicholas Yue wrote:

> 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
> 

--
Larry Gritz
[email protected]


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

Reply via email to