Skip to content

Commit

Permalink
feat: deleted obsolete function
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-sekanina committed May 17, 2023
1 parent a736a62 commit dad3473
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions applet/src/main/java/applet/MainApplet.java
Original file line number Diff line number Diff line change
Expand Up @@ -450,22 +450,6 @@ boolean checkStorageUsage() {
return true;
}

private short validationReturnProcedure(short returnCode) {
// clears all publicly accessible storages after policy is checked
short i = 0;
short j = 0;
while (i < STORAGE_AMOUNT) {
while (j < STORAGE_SIZE) {
pubDataStorage[i].array[j] = (byte) 0; // deletes content
j++;
}
pubDataStorage[i].offset = 0; // deletes size
j = 0;
i++;
}
return returnCode;
}

private void storageVanish() {
// clears all publicly accessible storages
short i = 0;
Expand Down

0 comments on commit dad3473

Please sign in to comment.