diff options
author | 2025-07-01 01:06:50 +0200 | |
---|---|---|
committer | 2025-07-01 01:06:50 +0200 | |
commit | 460d8f14a1a343351a212ba96e16157cdc88d069 (patch) | |
tree | cf5bdd5ddb226a474508f9a916466af5e469b5be /src/common.c | |
parent | c752e8780b043c8822be2417cc5596b8f2ad9c0b (diff) | |
download | idevicerestore-460d8f14a1a343351a212ba96e16157cdc88d069.tar.gz idevicerestore-460d8f14a1a343351a212ba96e16157cdc88d069.tar.bz2 |
Fix a couple of compiler warnings and remove unused variables
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c index 4c99a3a..70f0742 100644 --- a/src/common.c +++ b/src/common.c @@ -264,7 +264,6 @@ int prompt_user(const char* title, const char* text) int titlelen = (title) ? strlen(title) : 0; if (titlelen > 0) { int lefttitlelen = (titlelen+4)/2; - int righttitlelen = titlelen+4 - lefttitlelen; int leftpounds = outerlen/2 - lefttitlelen; int rightpounds = outerlen-(titlelen+4) - leftpounds; printf("%.*s[ %.*s ]%.*s\n", leftpounds, POUNDS, titlelen, title, rightpounds, POUNDS); |