Skip to content

Commit b92e0a3

Browse files
committed
[flang][cuda] Fix warning in switch
1 parent 1b5f691 commit b92e0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/lib/Lower/ConvertVariable.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1603,7 +1603,7 @@ fir::CUDAAttributeAttr Fortran::lower::translateSymbolCUDAAttribute(
16031603
break;
16041604
case Fortran::common::CUDADataAttr::Texture:
16051605
// Obsolete attribute
1606-
break;
1606+
return {};
16071607
}
16081608

16091609
return fir::CUDAAttributeAttr::get(mlirContext, attr);

0 commit comments

Comments
 (0)