summaryrefslogtreecommitdiff
path: root/common/console.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/console.cpp')
-rw-r--r--common/console.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/console.cpp b/common/console.cpp
index 8efa2a67..23545e5b 100644
--- a/common/console.cpp
+++ b/common/console.cpp
@@ -235,6 +235,7 @@ namespace console {
int estimateWidth(char32_t codepoint) {
#if defined(_WIN32)
+ (void)codepoint;
return 1;
#else
return wcwidth(codepoint);