Kaydet (Commit) 399fa0ee authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: uselessAssignmentPtrArg

Change-Id: Ie7844af5ab7ead6383e60933588f66c5871f3282
üst 4bfa6831
...@@ -35,11 +35,8 @@ bool openAddressBook(const std::string& path) ...@@ -35,11 +35,8 @@ bool openAddressBook(const std::string& path)
return true; return true;
} }
int main( int argc, const char* argv[] ) int main(void)
{ {
int x = argc;
x++;
argv++;
ProfileAccess* access = new ProfileAccess(); ProfileAccess* access = new ProfileAccess();
OUString defaultProfile = access->getDefaultProfile(::com::sun::star::mozilla::MozillaProductType_Thunderbird); OUString defaultProfile = access->getDefaultProfile(::com::sun::star::mozilla::MozillaProductType_Thunderbird);
SAL_INFO("connectivity.mork", "DefaultProfile: " << defaultProfile); SAL_INFO("connectivity.mork", "DefaultProfile: " << defaultProfile);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment