* grub-core/script/execute.c (grub_script_return): Fix warning.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-02-04 12:21:21 +01:00
parent ac576cde1d
commit 1e5ec32f2d
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-02-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/script/execute.c (grub_script_return): Fix warning.
2012-02-04 Vladimir Serbinenko <phcoder@gmail.com> 2012-02-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/script/execute.c (grub_script_return): Fix potential * grub-core/script/execute.c (grub_script_return): Fix potential

View file

@ -161,7 +161,7 @@ grub_script_return (grub_command_t cmd __attribute__((unused)),
if (argc == 0) if (argc == 0)
{ {
char *t; const char *t;
function_return = 1; function_return = 1;
t = grub_env_get ("?"); t = grub_env_get ("?");
if (!t) if (!t)