[VersionControl] Fixed some compiler warnings