Cleanup: quiet compiler warnings, also correct typo & pep8 formatting

This commit is contained in:
Campbell Barton 2023-08-09 20:21:07 +10:00
parent 31cb31d736
commit f940eb7739
4 changed files with 5 additions and 5 deletions

View File

@ -177,7 +177,7 @@ template<typename T> const T &get_socket_data_as(const bNodeTreeInterfaceSocket
}
inline bNodeTreeInterfaceSocket *add_interface_socket_from_node(bNodeTree &ntree,
const bNode &from_node,
const bNode & /*from_node*/,
const bNodeSocket &from_sock,
const StringRefNull socket_type,
const StringRefNull name)

View File

@ -275,13 +275,13 @@ typedef struct bNodeTreeInterface {
/**
* Add a new panel at the end of the items list.
* \param parent: Panel in which the new panel is aded as a child. If parent is null the new
* \param parent: Panel in which the new panel is added as a child. If parent is null the new
* panel is made a child of the root panel.
*/
bNodeTreeInterfacePanel *add_panel(blender::StringRefNull name, bNodeTreeInterfacePanel *parent);
/**
* Insert a new panel.
* \param parent: Panel in which the new panel is aded as a child. If parent is null the new
* \param parent: Panel in which the new panel is added as a child. If parent is null the new
* panel is made a child of the root panel.
* \param position: Position of the child panel within the parent panel.
*/

View File

@ -5503,7 +5503,7 @@ static int rna_preprocess(const char *outfile, const char *public_header_outfile
FILE *file;
char deffile[4096];
int i;
/* The exit code (returned from this funciton). */
/* The exit code (returned from this function). */
int status = EXIT_SUCCESS;
const char *deps[3]; /* expand as needed */

View File

@ -246,7 +246,7 @@ def main() -> None:
if not username:
return
#end_date = datetime.datetime(2020, 3, 14)
# end_date = datetime.datetime(2020, 3, 14)
end_date = datetime.datetime.now()
weekday = end_date.weekday()