mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 06:07:59 +00:00
64245dde3a
GCC warns about uninitialized local variables in cases where no initialization is needed, in particular in the overloads of the 'Capability::call()' function. Prior this patch, we dealt with those warnings by using an (unreliable) GCC pragma or by disabling the particular warning altogether (which is a bad idea). This patch removes the superfluous warnings by telling the compiler that the variable in question is volatile. |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib | ||
src |