Beheben von einige "warnings"

This commit is contained in:
@Nurullah.Damla 2019-12-12 11:45:51 +01:00
parent 7d11cc1730
commit 2334b55dd4
3 changed files with 6 additions and 5 deletions

0
.ci/clang-tidy.sh Normal file → Executable file
View File

View File

@ -1,12 +1,13 @@
#include <cstdlib> #include <cstdlib>
#include <signal.h>
#include "../src/SharedMemory.h"
#include <sys/shm.h>
#include <iostream> #include <iostream>
#include <sys/shm.h>
#include <csignal>
#include "../src/SharedMemory.h"
#include "vkvm.hpp" #include "vkvm.hpp"
int main(int argc, char** argv) { int main() {
vkvm::initialize(0); vkvm::initialize(0);
initSharedMemory(); initSharedMemory();
struct sigaction sigIntHandler; struct sigaction sigIntHandler;

View File

@ -1,5 +1,5 @@
#include <catch2/catch.hpp>
#include "../src/SharedMemory.h" #include "../src/SharedMemory.h"
#include <catch2/catch.hpp>
TEST_CASE("Demo test") { TEST_CASE("Demo test") {
REQUIRE(42 == 42); REQUIRE(42 == 42);