mirror of
https://dev.iopsys.eu/bbf/bbfdm.git
synced 2025-12-10 07:44:39 +01:00
add break if res is NULL
This commit is contained in:
parent
fd60013d1a
commit
0ea0b2c89a
1 changed files with 10 additions and 6 deletions
|
|
@ -175,7 +175,8 @@ int browseSoftwareModulesDeploymentUnitInst(struct dmctx *dmctx, DMNODE *parent_
|
|||
break;
|
||||
}
|
||||
if (incr != 100) break;
|
||||
}
|
||||
} else
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -884,7 +885,8 @@ int get_SoftwareModulesExecutionUnit_References(char *refparam, struct dmctx *ct
|
|||
}
|
||||
}
|
||||
if (incr != 100) break;
|
||||
}
|
||||
} else
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -985,7 +987,8 @@ void get_deployment_unit_name_version(char *uuid, char **name, char **version, c
|
|||
}
|
||||
}
|
||||
if (incr != 100) break;
|
||||
}
|
||||
} else
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1009,8 +1012,8 @@ char *get_softwaremodules_uuid(char *url)
|
|||
}
|
||||
}
|
||||
if (incr != 100) break;
|
||||
}
|
||||
|
||||
} else
|
||||
break;
|
||||
}
|
||||
return uuid;
|
||||
}
|
||||
|
|
@ -1035,7 +1038,8 @@ char *get_softwaremodules_url(char *uuid)
|
|||
}
|
||||
}
|
||||
if (incr != 100) break;
|
||||
}
|
||||
} else
|
||||
break;
|
||||
}
|
||||
return url;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue