summaryrefslogtreecommitdiffhomepage
path: root/nGenEx/Archive.cpp
diff options
context:
space:
mode:
authorFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-07-16 17:51:12 +0000
committerFWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544>2012-07-16 17:51:12 +0000
commitd247e6df50e9377cc5ecd0f4c29cc40de4165d1a (patch)
tree460f29768ba7ff213ead361f1165f2028fcf56d8 /nGenEx/Archive.cpp
parent48cce8ead9fdd6be5f1c4593235c56adb9156bea (diff)
downloadstarshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.zip
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.gz
starshatter-d247e6df50e9377cc5ecd0f4c29cc40de4165d1a.tar.bz2
Ignore PVS Studio warning V576
Diffstat (limited to 'nGenEx/Archive.cpp')
-rw-r--r--nGenEx/Archive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nGenEx/Archive.cpp b/nGenEx/Archive.cpp
index 689ac10..1a71ed3 100644
--- a/nGenEx/Archive.cpp
+++ b/nGenEx/Archive.cpp
@@ -563,7 +563,7 @@ void DataArchive::List()
int total_comp = 0;
printf("DATAFILE: %s\n", datafile);
- printf("Files: %d\n", header.nfiles);
+ printf("Files: %d\n", header.nfiles); //-V576
printf("\n");
if (directory && header.nfiles) {
@@ -574,7 +574,7 @@ void DataArchive::List()
DataEntry& e = directory[i];
int ratio = (int) (100.0 * (double) e.size_comp / (double) e.size_orig);
- printf("%5d %9d %9d %2d%% %s\n", i+1, e.size_orig, e.size_comp, ratio, e.name);
+ printf("%5d %9d %9d %2d%% %s\n", i+1, e.size_orig, e.size_comp, ratio, e.name); //-V576
total_orig += e.size_orig;
total_comp += e.size_comp;