Fix cppcheck static analysis report warning
Fix some warning from static anaysis tool. Change-Id: I7e8c2f5d6f79aff5fdcad81b1fd832900f213c47
이 커밋은 다음에 포함됨:
1 부모
14b86107a7
커밋
1b7eb4e1f4
2 파일이 변경됨
+5
-5
검색과 일치하는 파일 없음
@@ -51,7 +51,7 @@ int main()
|
||||
|
||||
// amd_oam_ops.get_mapi_version(&version);
|
||||
if (!amd_oam_ops.discover_devices(&dev_cnt))
|
||||
printf("%d AMD devices are discovered\n", dev_cnt);
|
||||
printf("%u AMD devices are discovered\n", dev_cnt);
|
||||
if (!dev_cnt) {
|
||||
printf("No devices are found.\n");
|
||||
return amd_oam_ops.free();
|
||||
|
||||
새 이슈에서 참조
사용자 차단