Skip to content

Conversation

@dongfengweixiao
Copy link

Fixed compiler warnings about potentially uninitialized variables in handle_key_down and hkm_unregister functions by adding else clauses to set default empty string values.

${PROJECT_ROOT}/linux/flutter/ephemeral/.plugin_symlinks/hotkey_manager_linux/linux/hotkey_manager_linux_plugin.cc:41:7: error: variable 'identifier' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
${PROJECT_ROOT}/linux/flutter/ephemeral/.plugin_symlinks/hotkey_manager_linux/linux/hotkey_manager_linux_plugin.cc:112:7: error: variable 'keystring' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]

Fixed compiler warnings about potentially uninitialized variables in
handle_key_down and hkm_unregister functions by adding else clauses
to set default empty string values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant