mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 14:13:30 -07:00
Removed unneeded comments
This commit is contained in:
parent
39bd629a40
commit
b8e5e22d11
2 changed files with 3 additions and 4 deletions
|
@ -418,8 +418,7 @@ bool CopyPasteManager::TryOperandToULL(const wstring& operand, int numberBase, u
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Default to base10
|
int intBase;
|
||||||
int intBase = 10;
|
|
||||||
switch (numberBase)
|
switch (numberBase)
|
||||||
{
|
{
|
||||||
case HexBase:
|
case HexBase:
|
||||||
|
@ -431,7 +430,8 @@ bool CopyPasteManager::TryOperandToULL(const wstring& operand, int numberBase, u
|
||||||
case BinBase:
|
case BinBase:
|
||||||
intBase = 2;
|
intBase = 2;
|
||||||
break;
|
break;
|
||||||
case DecBase: // Unneeded as the default is already 10?
|
default:
|
||||||
|
case DecBase:
|
||||||
intBase = 10;
|
intBase = 10;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ namespace CalculatorUnitTests
|
||||||
|
|
||||||
namespace CalculatorApp
|
namespace CalculatorApp
|
||||||
{
|
{
|
||||||
// TODO: Could be made into an enum : unsigned ?
|
|
||||||
constexpr auto QwordType = 1;
|
constexpr auto QwordType = 1;
|
||||||
constexpr auto DwordType = 2;
|
constexpr auto DwordType = 2;
|
||||||
constexpr auto WordType = 3;
|
constexpr auto WordType = 3;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue