Small warnings cleanup
on behalf of Afli; see issue 823
This commit is contained in:
@@ -229,7 +229,7 @@ static void _printHeader(
|
|||||||
if (fp != stderr) {
|
if (fp != stderr) {
|
||||||
fprintf(fp, "Feel free to place comments here.\n\n\n");
|
fprintf(fp, "Feel free to place comments here.\n\n\n");
|
||||||
fprintf(fp, "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
|
fprintf(fp, "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n");
|
||||||
fprintf(fp, warning_line);
|
fprintf(fp, "%s", warning_line);
|
||||||
fprintf(fp, "\n");
|
fprintf(fp, "\n");
|
||||||
}
|
}
|
||||||
fprintf(fp, "------------------------------\n");
|
fprintf(fp, "------------------------------\n");
|
||||||
|
@@ -726,7 +726,7 @@ int diagonalmchistupdate (void* data) {
|
|||||||
|
|
||||||
void MyDiagonalCurve::updateBackgroundHistogram (LUTu & hist) {
|
void MyDiagonalCurve::updateBackgroundHistogram (LUTu & hist) {
|
||||||
|
|
||||||
if (hist!=NULL) {
|
if (hist) {
|
||||||
//memcpy (bghist, hist, 256*sizeof(unsigned int));
|
//memcpy (bghist, hist, 256*sizeof(unsigned int));
|
||||||
for (int i=0; i<256; i++) bghist[i]=hist[i];
|
for (int i=0; i<256; i++) bghist[i]=hist[i];
|
||||||
//hist = bghist;
|
//hist = bghist;
|
||||||
|
Reference in New Issue
Block a user