rstudio/rstudio — comment on commit 75213db114504468d19381dc9e5d7e2dfa73b15b
File: src/cpp/session/modules/SessionSourceControl.cpp line 559
By jjallaire:

I noticed when looking at the ubuntu64 logs on the build machine that gcc is giving a warning about this line of code. I don't think that boost::optional defines an operator* so my guess is that this is a deference of the memory pointed to by index (which is who knows what). I could be missing something though, let me know what you think -- I may try to get past these warnings either by a call to index.get() or even by using -1 as a NULL index.