aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/wrappers/simple
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--um/wrappers/simple/src/device.cpp2
-rw-r--r--um/wrappers/simple/utils/exchange_ints.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/um/wrappers/simple/src/device.cpp b/um/wrappers/simple/src/device.cpp
index 57e6963..2d49ff3 100644
--- a/um/wrappers/simple/src/device.cpp
+++ b/um/wrappers/simple/src/device.cpp
@@ -13,7 +13,7 @@ namespace libsimple
{
namespace
{
- const char* const device_path = "\\\\.\\simple_device1";
+ const auto device_path = "\\\\.\\simple_device1";
const auto exchange_ints_ctl_code = CTL_CODE(0x8001, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS);
}
diff --git a/um/wrappers/simple/utils/exchange_ints.cpp b/um/wrappers/simple/utils/exchange_ints.cpp
index 2935b2f..0b06ad6 100644
--- a/um/wrappers/simple/utils/exchange_ints.cpp
+++ b/um/wrappers/simple/utils/exchange_ints.cpp
@@ -24,7 +24,7 @@ int main(int argc, char* argv[])
{
try
{
- unsigned int src;
+ unsigned int src = 0;
if (argc != 2 || !parse_int(src, argv[1]))
{