Skip to content

Commit d93c23e

Browse files
make variable local
Signed-off-by: tobiasKaminsky <[email protected]>
1 parent f93e00f commit d93c23e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/main/java/com/owncloud/android/lib/resources/notifications/UnregisterAccountDeviceForProxyOperation.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public UnregisterAccountDeviceForProxyOperation(String proxyUrl,
4141

4242
public RemoteOperationResult run() {
4343
RemoteOperationResult result;
44-
int status;
4544
HttpDeleteWithBody delete = null;
4645

4746
try {
@@ -51,7 +50,7 @@ public RemoteOperationResult run() {
5150
delete.setParameter(DEVICE_IDENTIFIER_SIGNATURE, deviceIdentifierSignature);
5251
delete.setParameter(USER_PUBLIC_KEY, userPublicKey);
5352

54-
status = new HttpClient().executeMethod(delete);
53+
int status = new HttpClient().executeMethod(delete);
5554
String response = delete.getResponseBodyAsString();
5655

5756
if(isSuccess(status)) {

0 commit comments

Comments
 (0)