Bug 659234 - Remove unused variable |rv| from test_file_perms.cpp; r=sdwilsh

This commit is contained in:
Ed Morley 2011-08-18 12:06:55 +02:00
parent c15316d32e
commit 87b69c69e4

View File

@ -49,8 +49,7 @@ void
test_file_perms()
{
nsCOMPtr<nsIFile> profDir;
nsresult rv = NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR,
getter_AddRefs(profDir));
(void)NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR, getter_AddRefs(profDir));
nsCOMPtr<nsILocalFile> sqlite_file = do_QueryInterface(profDir);
sqlite_file->Append(NS_LITERAL_STRING("places.sqlite"));
PRUint32 perms = 0;