diff options
author | Rod Smith <rodsmith@rodsbooks.com> | 2021-03-17 21:57:12 -0400 |
---|---|---|
committer | Rod Smith <rodsmith@rodsbooks.com> | 2021-03-17 21:59:18 -0400 |
commit | eae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7 (patch) | |
tree | dd82bf5ca410609032f73fe888a56d9f29ee3c93 /diskio-unix.cc | |
parent | 80e66b25922ab78cf987f693bf5477e466b1443a (diff) | |
download | sgdisk-eae9f7e2e1470ed2d5bc029180aa2adc88fbc4a7.tar.gz |
Code cleanup based on 'infer' suggestions; mostly just dead stores.
One forgotten change
Diffstat (limited to 'diskio-unix.cc')
-rw-r--r-- | diskio-unix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diskio-unix.cc b/diskio-unix.cc index 4aefc6f..7780aeb 100644 --- a/diskio-unix.cc +++ b/diskio-unix.cc @@ -376,7 +376,7 @@ int DiskIO::Read(void* buffer, int numBytes) { // size with the number of bytes read. // Returns the number of bytes written. int DiskIO::Write(void* buffer, int numBytes) { - int blockSize = 512, i, numBlocks, retval = 0; + int blockSize, i, numBlocks, retval = 0; char* tempSpace; // If disk isn't open, try to open it.... |