Does this occur before or after `ros::init` is called? If it happens before then this may not work. If you can cause this error to occur and you see this message it is probably fine, assuming there is no race condition or something like that.