gemini-code-assist[bot] commented on code in PR #262:
URL: https://github.com/apache/tvm-ffi/pull/262#discussion_r2529136277


##########
src/ffi/dtype.cc:
##########
@@ -228,6 +228,13 @@ inline DLDataType StringViewToDLDataType_(std::string_view 
str) {
   } else if (str.compare(0, 4, "uint") == 0) {
     dtype.code = kDLUInt;
     scan = str.data() + 4;
+  } else if (str.compare(0, 4, "uint") == 0) {
+    dtype.code = kDLUInt;
+    scan = str.data() + 4;

Review Comment:
   ![high](https://www.gstatic.com/codereviewagent/high-priority.svg)
   
   This `else if` block for parsing "uint" is a duplicate of the preceding one. 
It is likely a copy-paste error and should be removed.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to