aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/um/wrappers
diff options
context:
space:
mode:
Diffstat (limited to 'um/wrappers')
-rw-r--r--um/wrappers/simple/src/device.cpp2
-rw-r--r--um/wrappers/simple/utils/exchange_ints.cpp2
-rw-r--r--um/wrappers/special/nt_path_converter/src/device.cpp2
3 files changed, 3 insertions, 3 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]))
{
diff --git a/um/wrappers/special/nt_path_converter/src/device.cpp b/um/wrappers/special/nt_path_converter/src/device.cpp
index 90cd12f..2b5b89a 100644
--- a/um/wrappers/special/nt_path_converter/src/device.cpp
+++ b/um/wrappers/special/nt_path_converter/src/device.cpp
@@ -16,7 +16,7 @@ namespace libnt_path_converter
{
namespace
{
- const char* const device_path = "\\\\.\\nt_path_converter";
+ const auto device_path = "\\\\.\\nt_path_converter";
const auto control_code = CTL_CODE(0x8000, 0x800, METHOD_BUFFERED, FILE_ANY_ACCESS);
}