github-code-scanning[bot] commented on code in PR #14748:
URL: https://github.com/apache/druid/pull/14748#discussion_r1286079901


##########
sql/src/main/java/org/apache/druid/sql/calcite/rel/DruidQuery.java:
##########
@@ -1257,6 +1257,10 @@
     if (grouping == null || windowing != null) {
       return null;
     }
+    if (grouping.getDimensions().size() == 0 && grouping.getHavingFilter() == 
null) {
+      int asd = 1;

Review Comment:
   ## Unread local variable
   
   Variable 'int asd' is never read.
   
   [Show more 
details](https://github.com/apache/druid/security/code-scanning/5413)



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