danielappiagyei-bc commented on code in PR #10565:
URL: https://github.com/apache/nuttx/pull/10565#discussion_r1322327107


##########
libs/libc/stream/lib_stdsostream.c:
##########
@@ -70,18 +71,19 @@ static void stdsostream_putc(FAR struct lib_sostream_s 
*self, int ch)
 static int stdsostream_puts(FAR struct lib_sostream_s *self,
                             FAR const void *buffer, int len)
 {
-  FAR struct lib_stdsostream_s *stdsostream = (FAR struct lib_stdsostream_s 
*)self;
+  FAR struct lib_stdsostream_s *ostream =

Review Comment:
   I'm just now realizing that it isn't required for the `(` to be at the same 
indent level as the `=` so I could have kept the same name and pushed the 
second line to the left more:
   
   ```
   FAR struct lib_stdsostream_s *stdsostream = 
                                                           (FAR struct 
lib_stdsostream_s *)self;
   ```
   



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to