jlaitine commented on code in PR #7189:
URL: https://github.com/apache/incubator-nuttx/pull/7189#discussion_r980499891


##########
fs/partition/fs_gpt.c:
##########
@@ -393,6 +393,7 @@ int parse_gpt_partition(FAR struct partition_state_s *state,
   int nb_part;
   int count;
   int ret;
+  blkcnt_t lastlba = gpt_last_lba(state);

Review Comment:
   Sure. I also initialize it close to where it is used, looks cleaner that way 
imho.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to