summaryrefslogtreecommitdiff
path: root/test/media_device/media_device_print_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/media_device/media_device_print_test.cpp')
-rw-r--r--test/media_device/media_device_print_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/media_device/media_device_print_test.cpp b/test/media_device/media_device_print_test.cpp
index 8dd8a151..5018906c 100644
--- a/test/media_device/media_device_print_test.cpp
+++ b/test/media_device/media_device_print_test.cpp
@@ -26,13 +26,13 @@ using namespace std;
class MediaDevicePrintTest : public Test
{
public:
- MediaDevicePrintTest() { }
- ~MediaDevicePrintTest() { }
+ MediaDevicePrintTest() {}
+ ~MediaDevicePrintTest() {}
protected:
int init() { return 0; }
int run();
- void cleanup() { }
+ void cleanup() {}
private:
int testMediaDevice(string deviceNode);
@@ -137,7 +137,7 @@ int MediaDevicePrintTest::run()
*/
for (i = 0; i < MAX_MEDIA_DEV; i++) {
string mediadev = deviceNode + to_string(i);
- struct stat pstat = { };
+ struct stat pstat = {};
if (stat(mediadev.c_str(), &pstat))
continue;