diff options
author | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-07-16 17:51:12 +0000 |
---|---|---|
committer | FWoltermann@gmail.com <FWoltermann@gmail.com@076cb2c4-205e-83fd-5cf3-1be9aa105544> | 2012-07-16 17:51:12 +0000 |
commit | d247e6df50e9377cc5ecd0f4c29cc40de4165d1a (patch) | |
tree | 460f29768ba7ff213ead361f1165f2028fcf56d8 /nGenEx/Archive.cpp | |
parent | 48cce8ead9fdd6be5f1c4593235c56adb9156bea (diff) | |
download | starshatter-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.cpp | 4 |
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;
|