Remove use of deprecated register keyword.
authorCarl Hetherington <cth@carlh.net>
Sun, 1 May 2022 18:42:55 +0000 (20:42 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 1 May 2022 18:42:55 +0000 (20:42 +0200)
src/KM_fileio.cpp

index 374f11cac9a8186aba3caa8297bbae96ab992f7a..c70002d0324a08af0fcfd4bd15e47e8acbf4af6f 100644 (file)
@@ -738,7 +738,7 @@ Kumu::Result_t
 Kumu::FileWriter::Writev(const byte_t* buf, ui32_t buf_len)
 {
   assert( ! m_IOVec.empty() );
-  register h__iovec* iov = m_IOVec;
+  h__iovec* iov = m_IOVec;
   KM_TEST_NULL_L(buf);
 
   if ( iov->m_Count >= IOVecMaxEntries )
@@ -1193,7 +1193,7 @@ Kumu::Result_t
 Kumu::FileWriter::Writev(ui32_t* bytes_written)
 {
   assert( ! m_IOVec.empty() );
-  register h__iovec* iov = m_IOVec;
+  h__iovec* iov = m_IOVec;
   ui32_t tmp_int;
 
   if ( bytes_written == 0 )