Fixed C++ cppcheck offenses
diff --git a/lib/cpp/test/TFileTransportTest.cpp b/lib/cpp/test/TFileTransportTest.cpp
index c116fdc..81ab2cf 100644
--- a/lib/cpp/test/TFileTransportTest.cpp
+++ b/lib/cpp/test/TFileTransportTest.cpp
@@ -67,8 +67,8 @@
   FsyncLog() = default;
 
   void fsync(int fd) {
-    (void)fd;
     FsyncCall call;
+    call.fd = fd;
     THRIFT_GETTIMEOFDAY(&call.time, nullptr);
     calls_.push_back(call);
   }