Commit 4622e243 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

institutInq(): remove assignment to instID (bug fix)

parent c2751530
...@@ -207,8 +207,7 @@ int institutInq(int center, int subcenter, const char *name, const char *longnam ...@@ -207,8 +207,7 @@ int institutInq(int center, int subcenter, const char *name, const char *longnam
for ( i = 0; i < instCount; i++ ) for ( i = 0; i < instCount; i++ )
{ {
instID = instResHs[i]; ip2 = ( institute_t * ) reshGetVal ( instResHs[i], &instituteOps );
ip2 = ( institute_t * ) reshGetVal ( instID, &instituteOps );
xassert ( ip2 ); xassert ( ip2 );
if ( ip2->used && ! instituteCompareKernel ( ip1, ip2 )) if ( ip2->used && ! instituteCompareKernel ( ip1, ip2 ))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment