Eliminado un warning
This commit is contained in:
1 parent
cb3a8b0110
commit
0bd16bae29
2 files changed
+2
-3
No files matched your search
Executable
BIN
Binary file not shown.
@@ -74,8 +74,6 @@ void printBuffer()
|
|||||||
|
|
||||||
int calcChecksum()
|
int calcChecksum()
|
||||||
{
|
{
|
||||||
saveFile(filePath + ".bak");
|
|
||||||
|
|
||||||
int sum = 0;
|
int sum = 0;
|
||||||
for (int i = firstByte; i <= lastByte; i++)
|
for (int i = firstByte; i <= lastByte; i++)
|
||||||
{
|
{
|
||||||
@@ -92,7 +90,8 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
checkParameters(argc, argv);
|
checkParameters(argc, argv);
|
||||||
loadFile(filePath);
|
loadFile(filePath);
|
||||||
int sum = calcChecksum();
|
saveFile(filePath + ".bak");
|
||||||
|
calcChecksum();
|
||||||
saveFile(filePath);
|
saveFile(filePath);
|
||||||
|
|
||||||
//cout << hex;
|
//cout << hex;
|
||||||
|
|||||||
Reference in new issue
Block a user