diff --git a/server/TracyView.cpp b/server/TracyView.cpp index e6a4292e..c708b533 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -110,8 +110,6 @@ static inline void PrintSmallIntFrac( char*& buf, uint64_t v ) if( fr >= 995 ) { PrintSmallInt( buf, in+1 ); - memcpy( buf, ".00", 3 ); - buf += 3; } else { @@ -120,11 +118,6 @@ static inline void PrintSmallIntFrac( char*& buf, uint64_t v ) { PrintFrac00( buf, fr ); } - else - { - memcpy( buf, ".00", 3 ); - buf += 3; - } } } @@ -135,8 +128,6 @@ static inline void PrintSecondsFrac( char*& buf, uint64_t v ) if( fr >= 950 ) { PrintTinyInt0( buf, in+1 ); - memcpy( buf, ".0", 2 ); - buf += 2; } else { @@ -145,11 +136,6 @@ static inline void PrintSecondsFrac( char*& buf, uint64_t v ) { PrintFrac0( buf, fr ); } - else - { - memcpy( buf, ".0", 2 ); - buf += 2; - } } }