diff options
-rw-r--r-- | apps/plugins/calculator.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index 45d3643a70..cbaea8aa7e 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c | |||
@@ -1154,6 +1154,8 @@ static void doExponent(double* operandOne, int* powerOne, | |||
1154 | if (*operandOne < 0) | 1154 | if (*operandOne < 0) |
1155 | { | 1155 | { |
1156 | #if MEMORYSIZE < 8 | 1156 | #if MEMORYSIZE < 8 |
1157 | (void)negativeBuffer; | ||
1158 | (void)lastDigit; | ||
1157 | calStatus=cal_error; | 1159 | calStatus=cal_error; |
1158 | return; | 1160 | return; |
1159 | #else | 1161 | #else |
@@ -1903,9 +1905,6 @@ static void sciButtonsProcess(void){ | |||
1903 | case sci_xy: | 1905 | case sci_xy: |
1904 | if(!operInputted) {twoOperands(); operInputted = true;} | 1906 | if(!operInputted) {twoOperands(); operInputted = true;} |
1905 | oper = '^'; | 1907 | oper = '^'; |
1906 | #ifdef CALCULATOR_OPERATORS | ||
1907 | case_cycle_operators: /* F2 shortkey entrance */ | ||
1908 | #endif | ||
1909 | if (calStatus == cal_typing || | 1908 | if (calStatus == cal_typing || |
1910 | calStatus == cal_dotted) | 1909 | calStatus == cal_dotted) |
1911 | calStatus = cal_normal; | 1910 | calStatus = cal_normal; |