VirtualBox

Changeset 107453 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jan 7, 2025 10:13:53 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166508
Message:

Runtime/common/misc/fdt.cpp: Remove unreachable code, u32Token is always DTB_FDT_TOKEN_END at this point due to the while() loop before, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/fdt.cpp

    r106061 r107453  
    954954    }
    955955
    956     /* Need to end on an END token. */
    957     if (u32Token != DTB_FDT_TOKEN_END)
    958         return RTErrInfoSetF(pErrInfo, VERR_FDT_DTB_STRUCTS_BLOCK_TOKEN_INVALID, "The structs block doesn't end with an END token (got %#RX32, expected %#RX32)",
    959                              RT_BE2H_U32(u32Token), DTB_FDT_TOKEN_END);
    960 
    961956    return VINF_SUCCESS;
    962957}
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette