Fix gcc -O1 builds for ARM
The builds are failing as GCC somehow thinks ino might be uninitialized before use. Change-Id: Id99fd5e46bcbaafd5001752e16c3f77c1d568556
This commit is contained in:
parent
b7f0178aeb
commit
41a30155b9
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ int do_lookup(ino_t dir_nr, char *name, struct fsdriver_node *node,
|
||||||
{
|
{
|
||||||
/* Resolve a path string to an inode.
|
/* Resolve a path string to an inode.
|
||||||
*/
|
*/
|
||||||
struct inode *dir_ino, *ino;
|
struct inode *dir_ino, *ino = NULL;
|
||||||
struct sffs_attr attr;
|
struct sffs_attr attr;
|
||||||
char path[PATH_MAX];
|
char path[PATH_MAX];
|
||||||
int r;
|
int r;
|
||||||
|
|
Loading…
Reference in a new issue