fix warning

This commit is contained in:
Joachim Schoeberl 2024-09-03 11:11:45 +02:00
parent c096536e32
commit bb3c3ff565
2 changed files with 2 additions and 2 deletions

View File

@ -6837,7 +6837,7 @@ namespace netgen
{
auto nr = ident->GetNr(id_name);
ident->SetType(nr, Identifications::PERIODIC);
double lami[4];
// double lami[4];
set<int> identified_points;
if(pointTolerance < 0.)
{

View File

@ -2078,7 +2078,6 @@ namespace netgen
return TCL_ERROR;
const char * filename = Tcl_GetString(argv[2]);
int len = strlen(filename);
int w = Togl_PixelScale(togl)*Togl_Width (togl);
int h = Togl_PixelScale(togl)*Togl_Height (togl);
@ -2088,6 +2087,7 @@ namespace netgen
glReadPixels (0, 0, w, h, GL_RGB, GL_UNSIGNED_BYTE, &buffer[0]);
#ifdef JPEGLIB
int len = strlen(filename);
if (strcmp ("jpg", filename+len-3) == 0)
{
cout << "Snapshot to file '" << filename << "'" << endl;