Removed unneeded comments

This commit is contained in:
Nicholas Baron 2019-04-16 23:26:13 -07:00
commit b8e5e22d11
2 changed files with 3 additions and 4 deletions

View file

@ -418,8 +418,7 @@ bool CopyPasteManager::TryOperandToULL(const wstring& operand, int numberBase, u
return false;
}
// Default to base10
int intBase = 10;
int intBase;
switch (numberBase)
{
case HexBase:
@ -431,7 +430,8 @@ bool CopyPasteManager::TryOperandToULL(const wstring& operand, int numberBase, u
case BinBase:
intBase = 2;
break;
case DecBase: // Unneeded as the default is already 10?
default:
case DecBase:
intBase = 10;
break;
}

View file

@ -13,7 +13,6 @@ namespace CalculatorUnitTests
namespace CalculatorApp
{
// TODO: Could be made into an enum : unsigned ?
constexpr auto QwordType = 1;
constexpr auto DwordType = 2;
constexpr auto WordType = 3;