Quantcast
Channel: C6000™多核 - 最近的话题
Viewing all articles
Browse latest Browse all 5545

CCSV5编译

$
0
0

在主函数中定义了一个指针变量,如下

int a=3;

int *p;
p=&a;

编译出现如下警告:

variable “p” was set but never used

程序运行没有问题,但是想找出这个警告的原因是什么?


Viewing all articles
Browse latest Browse all 5545

Trending Articles